tumourkit.utils.preprocessing.read_gson
- tumourkit.utils.preprocessing.read_gson(name: str, path: str) List[Dict[str, Any]]
Reads the GeoJSON file at the specified path with the given name.
- Parameters:
name (str) – The base name of the file (without extension).
path (str) – The path to the directory containing the file.
- Returns:
The contents of the GeoJSON file as a list of dictionaries.
- Return type:
List[Dict[str, Any]]