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 39e292e commit 6c78ec5Copy full SHA for 6c78ec5
niworkflows/interfaces/registration.py
@@ -462,13 +462,13 @@ def _run_interface(self, runtime):
462
463
self._results["n_volumes_to_discard"] = n_volumes_to_discard
464
465
- if multiecho and (len(self.inputs.in_file) < 2):
+ if self.inputs.multiecho and (len(self.inputs.in_file) < 2):
466
raise ValueError("Argument 'multiecho' is True but "
467
"'in_file' has only one element")
468
469
out_ref_fname = os.path.join(runtime.cwd, "ref_bold.nii.gz")
470
if isdefined(self.inputs.sbref_file):
471
- if multiecho and (len(self.inputs.sbref_file) < 2):
+ if self.inputs.multiecho and (len(self.inputs.sbref_file) < 2):
472
473
"'sbref_file' has only one element")
474
0 commit comments