Skip to content

Commit 8dc07e2

Browse files
oestebanmgxd
andauthored
Update fmriprep/cli/parser.py [skip ci]
Co-Authored-By: Mathias Goncalves <[email protected]>
1 parent 3e3bb90 commit 8dc07e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmriprep/cli/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def parse_args(args=None, namespace=None):
396396
participant_label = set(config.execution.participant_label)
397397
missing_subjects = participant_label - set(all_subjects)
398398
if missing_subjects:
399-
config.loggers.cli.error(
399+
parser.error(
400400
"One or more participant labels were not found in the BIDS directory: "
401401
"%s." % ", ".join(missing_subjects))
402402

0 commit comments

Comments
 (0)