Skip to content

FIX: skipping dcm2niix shouldn't allow collisions#360

Open
joey-scanga wants to merge 2 commits intoUNFmontreal:masterfrom
joey-scanga:fix/name_clobber
Open

FIX: skipping dcm2niix shouldn't allow collisions#360
joey-scanga wants to merge 2 commits intoUNFmontreal:masterfrom
joey-scanga:fix/name_clobber

Conversation

@joey-scanga
Copy link
Contributor

ran into an issue where, when running dcm2bids on multiple NIFTI-only directories with similar naming structures (i.e. series 1 named '1.nii.gz', series 2 named '2.nii.gz', etc.) would collide names when using shutil.copytree(). the solution here is to add a prefix to each file that's the base path of the dicom directory

joey-scanga and others added 2 commits March 2, 2026 07:51
ran into an issue where, when running dcm2bids on multiple NIFTI-only directories with similar
naming structures (i.e. series 1 named '1.nii.gz', series 2 named '2.nii.gz', etc.) would collide
names when using shutil.copytree(). the solution here is to add a prefix to each file that's the
base path of the dicom directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant