Skip to content
Snippets Groups Projects
Commit 14e96e9d authored by lukas leufen's avatar lukas leufen
Browse files

updated wrong default paths

parent 7f6e7845
Branches
No related tags found
4 merge requests!136update release branch,!135Release v0.11.0,!134MLAir is decoupled from join,!119Resolve "Include advanced data handling in workflow"
...@@ -31,13 +31,13 @@ def prepare_host(create_new=True, data_path=None, sampling="daily") -> str: ...@@ -31,13 +31,13 @@ def prepare_host(create_new=True, data_path=None, sampling="daily") -> str:
elif hostname == "zam347": elif hostname == "zam347":
path = f"/home/{user}/Data/toar_{sampling}/" path = f"/home/{user}/Data/toar_{sampling}/"
elif hostname == "linux-aa9b": elif hostname == "linux-aa9b":
path = f"/home/{user}/machinelearningtools/data/toar_{sampling}/" path = f"/home/{user}/mlair/data/toar_{sampling}/"
elif (len(hostname) > 2) and (hostname[:2] == "jr"): elif (len(hostname) > 2) and (hostname[:2] == "jr"):
path = f"/p/project/cjjsc42/{user}/DATA/toar_{sampling}/" path = f"/p/project/cjjsc42/{user}/DATA/toar_{sampling}/"
elif (len(hostname) > 2) and (hostname[:2] in ['jw', 'ju'] or hostname[:5] in ['hdfml']): elif (len(hostname) > 2) and (hostname[:2] in ['jw', 'ju'] or hostname[:5] in ['hdfml']):
path = f"/p/project/deepacf/intelliaq/{user}/DATA/toar_{sampling}/" path = f"/p/project/deepacf/intelliaq/{user}/DATA/toar_{sampling}/"
elif runner_regex.match(hostname) is not None: elif runner_regex.match(hostname) is not None:
path = f"/home/{user}/machinelearningtools/data/toar_{sampling}/" path = f"/home/{user}/mlair/data/toar_{sampling}/"
else: else:
raise OSError(f"unknown host '{hostname}'") raise OSError(f"unknown host '{hostname}'")
if not os.path.exists(path): if not os.path.exists(path):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment