We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e3bb90 commit 8dc07e2Copy full SHA for 8dc07e2
fmriprep/cli/parser.py
@@ -396,7 +396,7 @@ def parse_args(args=None, namespace=None):
396
participant_label = set(config.execution.participant_label)
397
missing_subjects = participant_label - set(all_subjects)
398
if missing_subjects:
399
- config.loggers.cli.error(
+ parser.error(
400
"One or more participant labels were not found in the BIDS directory: "
401
"%s." % ", ".join(missing_subjects))
402
0 commit comments