We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3a17b1 commit 41d1f15Copy full SHA for 41d1f15
fmriprep/cli/parser.py
@@ -800,6 +800,14 @@ def parse_args(args=None, namespace=None):
800
config.execution.log_level = int(max(25 - 5 * opts.verbose_count, logging.DEBUG))
801
config.from_dict(vars(opts), init=['nipype'])
802
803
+ # Consistency checks
804
+ if 'bbr' in config.workflow.force and 'no-bbr' in config.workflow.force:
805
+ msg = (
806
+ 'Cannot force and disable boundary-based registration at the same time. '
807
+ 'Remove `bbr` or `no-bbr` from the `--force` options.'
808
+ )
809
+ raise ValueError(msg)
810
+
811
if not config.execution.notrack:
812
import importlib.util
813
0 commit comments