Skip to content

Commit

Permalink
[bugfix] use get_data_root in parse_yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonin Blot committed May 1, 2024
1 parent 9f6aa44 commit 62de9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexiznam/camp/sync_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def parse_yaml(path_to_yaml, raw_data_folder=None, verbose=True):
session_data = _clean_yaml(path_to_yaml)

if raw_data_folder is None:
raw_data_folder = Path(PARAMETERS["data_root"]["raw"])
raw_data_folder = flz.get_data_root('raw', session_data["project"])
raw_data_folder /= session_data["project"]

if session_data["path"] is not None:
Expand Down

0 comments on commit 62de9cc

Please sign in to comment.