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 682abac commit 39b3a2cCopy full SHA for 39b3a2c
nipype/interfaces/dcm2nii.py
@@ -485,6 +485,11 @@ def _parse_files(self, filenames):
485
mvecs.append(fl)
486
elif fl.endswith(".json") or fl.endswith(".txt"):
487
bids.append(fl)
488
+
489
+ # in siemens mosaic conversion nipype misread dcm2niix output and generate a duplicate list of results
490
+ # next line remove duplicates from output files array
491
+ outfiles = [*set(outfiles)]
492
493
self.output_files = outfiles
494
self.bvecs = bvecs
495
self.mvecs = mvecs
0 commit comments