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.
2 parents edf7a4a + 45e8076 commit 685a1fbCopy full SHA for 685a1fb
nipype/interfaces/dcm2nii.py
@@ -486,6 +486,11 @@ def _parse_files(self, filenames):
486
mvecs.append(fl)
487
elif fl.endswith(".json") or fl.endswith(".txt"):
488
bids.append(fl)
489
+
490
+ # in siemens mosaic conversion nipype misread dcm2niix output and generate a duplicate list of results
491
+ # next line remove duplicates from output files array
492
+ outfiles = list(dict.fromkeys(outfiles))
493
494
self.output_files = outfiles
495
self.bvecs = bvecs
496
self.mvecs = mvecs
0 commit comments