Skip to content

Commit

Permalink
Fix regex for _run index in a test_validator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic authored Sep 30, 2024
1 parent d692608 commit a096cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/schemacode/bidsschematools/tests/test_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_write_report(tmp_path):
"(|_ses-(?P=session))(|_acq-(?P<acquisition>[0-9a-zA-Z+]+))"
"(|_ce-(?P<ceagent>[0-9a-zA-Z+]+))"
"(|_rec-(?P<reconstruction>[0-9a-zA-Z+]+))"
"(|_run-(?P<run>[0-9a-zA-Z+]+))"
"(|_run-(?P<run>[0-9]+))"
"(|_part-(?P<part>(mag|phase|real|imag)))"
"_(T1w|T2w|PDw|T2starw|FLAIR|inplaneT1|inplaneT2|PDT2|angio|T2star)"
"\\.(nii.gz|nii|json)$",
Expand Down

0 comments on commit a096cba

Please sign in to comment.