Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
os.rename
to shutil.move
to allow file overwriting in `ren…
…ame_nifti_files` This commit replaces the use of `os.rename` with `shutil.move` in the `rename_nifti_files` function. The change allows the function to overwrite files if they already exist in the target directory, resolving the FileExistsError that occurred when attempting to rename NIFTI files with names that already exist.
- Loading branch information