tumourkit.utils.preprocessing.save_geojson

tumourkit.utils.preprocessing.save_geojson(gson: List[Dict[str, Any]], name: str, path: str) None

Save a list of geojson features to a file with the given name at the specified path.

Parameters:
  • gson (List[Dict[str, Any]]) – A list of geojson features to save.

  • name (str) – The name of the file to save.

  • path (str) – The path to save the file at.