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 39b3a2c commit 45e8076Copy full SHA for 45e8076
nipype/interfaces/dcm2nii.py
@@ -488,7 +488,7 @@ def _parse_files(self, filenames):
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)]
+ outfiles = list(dict.fromkeys(outfiles))
492
493
self.output_files = outfiles
494
self.bvecs = bvecs
0 commit comments