diff --git a/nipype/interfaces/dcm2nii.py b/nipype/interfaces/dcm2nii.py index e37887a99c..9e65e2d15d 100644 --- a/nipype/interfaces/dcm2nii.py +++ b/nipype/interfaces/dcm2nii.py @@ -446,8 +446,7 @@ def _format_arg(self, opt, spec, val): return super()._format_arg(opt, spec, val) def _run_interface(self, runtime): - # may use return code 1 despite conversion - runtime = super()._run_interface(runtime, correct_return_codes=(0, 1)) + runtime = super()._run_interface(runtime) self._parse_files(self._parse_stdout(runtime.stdout)) return runtime