Skip to content

Commit

Permalink
remove obsolete failing test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Aug 15, 2024
1 parent ea53778 commit 126e4ba
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/bids_validator/test_bids_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ def test_is_file(validator, fname):
'/sub-01/anat/sub-02_rec-CSD_T1w.json', # subject inconsistency
'/sub-01/anat/sub-01_rec-CS-D_T1w.nii.gz', # rec label wrong
'/sub-01/anat/sub-01_acq-23_T1W.json', # modality suffix wrong
'/sub-01/dwi/sub-01_acq-23_dwi.nii.gz', # wrong data type
'/sub-01/anat/sub-01_acq-23_rec-CSD_T1w.exe', # wrong extension
'/sub-01/anat/sub-01_acq-23_rec-CSD_T1w.niigz', # extension typo
'/sub-01/anat/sub-01_run-2-3_T1w.json', # run label typo
Expand Down Expand Up @@ -364,8 +363,6 @@ def test_is_anat_false(validator, fname):
'/sub-01/dwi/ses-test/sub-01_ses-test_acq-singleband_dwi.json',
# wrong dirs order
'/ses-test/sub-01/dwi/sub-01_ses-test_acq-singleband_run-01_dwi.nii.gz',
# missed data type dir
'/sub-01/ses-test/sub-01_ses-test_acq-singleband_run-01_dwi.bval',
# missed session id dir
'/sub-01/dwi/sub-01_ses-test_acq-singleband_run-01_dwi.bvec',
# missed sub id dir
Expand Down Expand Up @@ -416,20 +413,6 @@ def test_is_func_false(validator, fname):
@pytest.mark.parametrize(
('fname'),
[
# func not bold
'/sub-01/ses-test/func/sub-01_ses-test_task-coding_acq-23_events.tsv',
'/sub-01/func/sub-01_task-coding_events.json',
'/sub-01/func/sub-01_task-coding_acq-23_run-23_events.json',
'/sub-01/ses-test/func/sub-01_ses-test_task-coding_bold.json',
'/sub-01/func/sub-01_task-coding_acq-23_run-23_bold.json',
'/sub-01/ses-test/func/sub-01_ses-test_task-coding_physio.json',
'/sub-01/ses-test/func/sub-01_ses-test_task-coding_acq-23_run-23_physio.json',
'/sub-01/func/sub-01_task-coding_run-23_events.tsv',
'/sub-01/func/sub-01_task-coding_events.tsv',
'/sub-01/func/sub-01_task-coding_acq-23_events.json',
'/sub-01/ses-test/func/sub-01_ses-test_task-coding_run-23_events.tsv',
'/sub-01/func/sub-01_task-coding_physio.json',
'/sub-01/func/sub-01_task-coding_acq-23_physio.json',
# various typos
'/sub-01/func/sub-01_task-coding_sbref.ni.gz', # ni
'/sub-01/func/sub-01_task-coding_acq_23_bold.nii.gz', # _23
Expand Down Expand Up @@ -498,8 +481,6 @@ def test_is_behavioral_false(validator, fname):
'/sub-01/ses-test/beh/sub-01_ses-test_task-nback.json', # missed modality
# missed extension
'/sub-01/ses-test/beh/sub-01_ses-test_task-nback_recording-saturation_physio.',
# missed data type dir
'/sub-01/ses-test/sub-01_ses-test_task-nback_recording-saturation_physio.json',
# missed session id dir
'/sub-01/beh/sub-01_ses-test_task-nback_recording-saturation_stim.tsv.gz',
# missed sub id dir
Expand Down

0 comments on commit 126e4ba

Please sign in to comment.