diff --git a/tools/schemacode/bidsschematools/tests/test_validator.py b/tools/schemacode/bidsschematools/tests/test_validator.py index 0e26cc0284..c3d19ae718 100644 --- a/tools/schemacode/bidsschematools/tests/test_validator.py +++ b/tools/schemacode/bidsschematools/tests/test_validator.py @@ -91,7 +91,7 @@ def test_write_report(tmp_path): "(|_ses-(?P=session))(|_acq-(?P[0-9a-zA-Z+]+))" "(|_ce-(?P[0-9a-zA-Z+]+))" "(|_rec-(?P[0-9a-zA-Z+]+))" - "(|_run-(?P[0-9a-zA-Z+]+))" + "(|_run-(?P[0-9]+))" "(|_part-(?P(mag|phase|real|imag)))" "_(T1w|T2w|PDw|T2starw|FLAIR|inplaneT1|inplaneT2|PDT2|angio|T2star)" "\\.(nii.gz|nii|json)$",