diff --git a/front/app/app.py b/front/app/app.py index a6b6537..73dcdf3 100644 --- a/front/app/app.py +++ b/front/app/app.py @@ -173,7 +173,7 @@ def exclude(): "id": 0, "method": "get_files", "params": { - "rules": {'non-bids':{'eeg_extension':'.vhdr'}}, + "rules": {}, "path": app.config['UPLOAD_FOLDER'].replace('\\','/') } } diff --git a/sovabids/datasets.py b/sovabids/datasets.py index 31f27a7..d6e3f67 100644 --- a/sovabids/datasets.py +++ b/sovabids/datasets.py @@ -217,5 +217,5 @@ def make_dummy_dataset(PATTERN='T%task%/S%session%/sub%subject%_%acquisition%_%r dummy = dummy.replace('%acquisition%',acq) path = [data_dir] +dummy.split('/') fpath = os.path.join(*path) - _write_raw_brainvision(raw,fpath,new_events) + _write_raw_brainvision(raw,fpath,new_events,overwrite=True)