diff --git a/flexiznam/camp/sync_data.py b/flexiznam/camp/sync_data.py index bd6c753..e003197 100644 --- a/flexiznam/camp/sync_data.py +++ b/flexiznam/camp/sync_data.py @@ -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: