Skip to content

Commit 2fc27a4

Browse files
committed
ENH(TST): test application of "catch all" rule
1 parent 686016d commit 2fc27a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

heudiconv/heuristics/test_reproin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,10 @@ def test_fix_dbic_protocol():
114114
seqinfos = [seq1, seq2]
115115
protocols2fix = {
116116
md5sum('mystudy'):
117-
[('scout_run\+', 'scout'),
117+
[('scout_run\+', 'THESCOUT'),
118118
('run-life[0-9]', 'run+_task-life')],
119+
# rely on 'catch-all' to fix up above scout
120+
'': [('THESCOUT', 'scout')]
119121
}
120122

121123
with patch.object(reproin, 'protocols2fix', protocols2fix), \

0 commit comments

Comments
 (0)