Skip to content

Commit

Permalink
FIX: Work around openneuro-2976
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jan 24, 2024
1 parent a1032af commit bdb6d6a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mne_bids_pipeline/tests/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ class DATASET_OPTIONS_T(TypedDict, total=False):
"ds003775": {
"openneuro": "ds003775",
"include": ["sub-010"],
# See https://github.com/OpenNeuroOrg/openneuro/issues/2976
"exclude": ["sub-010/ses-t1/sub-010_ses-t1_scans.tsv"],
},
"ds001810": {
"openneuro": "ds001810",
Expand Down
2 changes: 2 additions & 0 deletions mne_bids_pipeline/tests/sub-010_ses-t1_scans.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
filename acq_time
eeg/sub-010_ses-t1_task-resteyesc_eeg.edf 2017-05-09T12:11:44
5 changes: 5 additions & 0 deletions mne_bids_pipeline/tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ def test_run(dataset, monkeypatch, dataset_test, capsys, tmp_path):
src=fix_path / "ds001971_participants.tsv",
dst=DATA_DIR / "ds001971" / "participants.tsv",
)
elif dataset == "ds003775":
shutil.copy(
src=fix_path / "sub-010_ses-t1_scans.tsv",
dst=DATA_DIR / "ds003775" / "sub-010" / "ses-t1" / "sub-010_ses-t1_scans.tsv",
)

# Run the tests.
steps = test_options.get("steps", ("preprocessing", "sensor"))
Expand Down

0 comments on commit bdb6d6a

Please sign in to comment.