LION.utils.paths¶
Where LION’s data and results are: the LION_DATA_PATH and
LION_RESULTS_PATH environment variables, read when a path is used.
data_path(relative): a path insideLION_DATA_PATH, e.g.data_path("processed/LIDC-IDRI"); an error if it isn’t set.results_path(relative): a path insideLION_RESULTS_PATH(optional: a solver without asave_foldersaves there).
Saved parameters write paths inside these folders as calls to these functions
(LION.utils.spec), so they point to the same data on any machine. The
datasets’ folders are named below (paths.LIDC_IDRI_PROCESSED_DATASET_PATH,
…), each read from LION_DATA_PATH when used, as are LION_DATA_PATH
and LION_RESULTS_PATH themselves.
Functions
|
A path inside |
|
A path inside |