jupyter_analysis_tools.datalocations.getDataDirs¶
- jupyter_analysis_tools.datalocations.getDataDirs(dataDir, noWorkDir=False, reuseWorkDir=True, workDir=None)[source]¶
Create a local work dir with a copy of the input data and for storing the results. (Data might reside in synced folders which creates massive traffic once batch processing results get replaced repeately.)
- Parameters:
noWorkDir (bool) – False: Copy input data to a new working dir (default), True: otherwise, use data where it is.
reuseWorkDir (bool) – False: Create a new working dir each time, True: reuse the work dir if it exists already (default).
- Returns:
A list of absolute directory paths.