Skip to content

Commit 231e813

Browse files
committed
dcm2niix add
1 parent 01e5792 commit 231e813

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

nipype/interfaces/dcm2nii.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _gen_filename(self, name):
184184
## dcm2niix update
185185

186186
class Dcm2niixInputSpec(CommandLineInputSpec):
187-
source_names = InputMultiPath(File(exists=True), argstr="%s", position=-1,
187+
source_names = InputMultiPath(File(exists=True), argstr="%s", position=-1,
188188
copyfile=False, mandatory=True, xor=['source_dir'])
189189
source_dir = Directory(exists=True, argstr="%s", position=-1, mandatory=True,
190190
xor=['source_names'])
@@ -223,9 +223,9 @@ class Dcm2niix(CommandLine):
223223

224224
def _format_arg(self, opt, spec, val):
225225
if opt in ['bids_format', 'single_file', 'verbose']:
226-
226+
227227
spec = deepcopy(spec)
228-
228+
229229
if val:
230230
spec.argstr += ' y'
231231
else:
@@ -259,7 +259,7 @@ def _parse_stdout(self, stdout):
259259
output_dir = self.inputs.output_dir
260260
else:
261261
output_dir = self._gen_filename('output_dir')
262-
262+
263263
out_file = os.path.abspath(os.path.join(output_dir, fname))
264264

265265
# extract bvals
@@ -271,7 +271,7 @@ def _parse_stdout(self, stdout):
271271
# next scan will have bvals/bvecs
272272
elif 'DTI gradient directions' in line:
273273
find_b = True
274-
274+
275275
else:
276276
pass
277277

0 commit comments

Comments
 (0)