File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -918,7 +918,7 @@ def fixup_subjectid(subjectid):
918918 """Just in case someone managed to miss a zero or added an extra one"""
919919 # make it lowercase
920920 subjectid = subjectid .lower ()
921- reg = re .match ("sid0*(\d+)$" , subjectid )
921+ reg = re .match (r "sid0*(\d+)$" , subjectid )
922922 if not reg :
923923 # some completely other pattern
924924 # just filter out possible _- in it
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def test_fix_dbic_protocol():
114114 seqinfos = [seq1 , seq2 ]
115115 protocols2fix = {
116116 md5sum ('mystudy' ):
117- [('scout_run\+' , 'THESCOUT-runX' ),
117+ [(r 'scout_run\+' , 'THESCOUT-runX' ),
118118 ('run-life[0-9]' , 'run+_task-life' )],
119119 re .compile ('^my.*' ):
120120 [('THESCOUT-runX' , 'THESCOUT' )],
@@ -221,4 +221,4 @@ def test_parse_series_spec():
221221 {'datatype' : 'func' , 'session' : '{date}' }
222222
223223 assert pdpn ("fmap_dir-AP_ses-01" ) == \
224- {'datatype' : 'fmap' , 'session' : '01' , 'dir' : 'AP' }
224+ {'datatype' : 'fmap' , 'session' : '01' , 'dir' : 'AP' }
You can’t perform that action at this time.
0 commit comments