Skip to content

Commit

Permalink
[bugfix] get project specific data root
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonin Blot committed May 1, 2024
1 parent 62de9cc commit 111f2f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flexiznam/camp/sync_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ def upload_yaml(
"""

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

# if there are errors, I cannot safely parse the yaml
errors = find_xxerrorxx(yml_file=source_yaml)
if errors:
Expand Down

0 comments on commit 111f2f9

Please sign in to comment.