|
18 | 18 | (
|
19 | 19 | 3,
|
20 | 20 | [
|
21 |
| - 'sub-001_anat.html', |
22 |
| - 'sub-001_ses-001_func.html', |
23 |
| - 'sub-001_ses-003_func.html', |
24 |
| - 'sub-001_ses-004_func.html', |
25 |
| - 'sub-001_ses-005_func.html', |
26 |
| - 'sub-001_ses-001_pet.html', |
27 |
| - 'sub-001_ses-003_pet.html', |
28 |
| - 'sub-001_ses-004_pet.html', |
29 |
| - 'sub-001_ses-005_pet.html', |
| 21 | + 'sub-01_anat.html', |
| 22 | + 'sub-01_ses-001_pet.html', |
| 23 | + 'sub-01_ses-003_pet.html', |
| 24 | + 'sub-01_ses-004_pet.html', |
| 25 | + 'sub-01_ses-005_pet.html', |
30 | 26 | ],
|
31 | 27 | ),
|
32 |
| - (4, ['sub-001.html']), |
| 28 | + (4, ['sub-01.html']), |
33 | 29 | ],
|
34 | 30 | )
|
35 | 31 | # Test with and without crash file
|
|
41 | 37 | 'session_list', [['001', '003', '004', '005'], ['ses-001', 'ses-003', 'ses-004', 'ses-005']]
|
42 | 38 | )
|
43 | 39 | # Test sub- prefix stripping
|
44 |
| -@pytest.mark.parametrize('subject_label', ['001', 'sub-001']) |
| 40 | +@pytest.mark.parametrize('subject_label', ['01', 'sub-01']) |
45 | 41 | @pytest.mark.skipif(
|
46 | 42 | not Path.exists(data_dir / 'work'),
|
47 | 43 | reason='Package installed - large test data directory excluded from wheel',
|
@@ -82,7 +78,7 @@ def mock_session_list(*args, **kwargs):
|
82 | 78 | config.execution.layout = BIDSLayout(data_dir / 'ds000005')
|
83 | 79 | monkeypatch.setattr(config.execution.layout, 'get_sessions', mock_session_list)
|
84 | 80 | monkeypatch.setattr(
|
85 |
| - config.execution, 'bids_filters', {'bold': {'session': ['001', '003', '004', '005']}} |
| 81 | + config.execution, 'bids_filters', {'pet': {'session': ['001', '003', '004', '005']}} |
86 | 82 | )
|
87 | 83 |
|
88 | 84 | # Generate report
|
|
0 commit comments