Skip to content

Commit 74f819b

Browse files
Fix comment: clarify root-level files have no subject entity
1 parent d3125bb commit 74f819b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/schemacode/src/bidsschematools/tests/test_render_text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_make_filename_template(schema_obj, schema_dir, placeholders):
118118
continue
119119
if line.startswith(" [ses-<label>/]"):
120120
continue
121-
# Some files (e.g., EMG coordsystem) can have optional subject for root-level placement
121+
# Skip patterns with optional subject (EMG coordsystem allows root-level placement)
122122
if line.lstrip().startswith("[sub-<label>]"):
123123
continue
124124

@@ -157,7 +157,7 @@ def test_make_filename_template(schema_obj, schema_dir, placeholders):
157157
continue
158158
if line.startswith(" [ses-<label>/]"):
159159
continue
160-
# Some files (e.g., EMG coordsystem) can have optional subject for root-level placement
160+
# Skip patterns with optional subject (EMG coordsystem allows root-level placement)
161161
if line.lstrip().startswith("[sub-<label>]"):
162162
continue
163163

0 commit comments

Comments
 (0)