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 c5bb08c commit 8595e94Copy full SHA for 8595e94
niworkflows/interfaces/bids.py
@@ -587,9 +587,7 @@ def _run_interface(self, runtime):
587
) and not out_file.name.endswith((".dtseries.nii", ".dtseries.nii.gz"))
588
data_dtype = self.inputs.data_dtype or DEFAULT_DTYPES[self.inputs.suffix]
589
if is_nifti and any((self.inputs.check_hdr, data_dtype)):
590
- # Do not use mmap; if we need to access the data at all, it will be to
591
- # rewrite, risking a BusError
592
- nii = nb.load(orig_file, mmap=False)
+ nii = nb.load(orig_file)
593
594
if self.inputs.check_hdr:
595
hdr = nii.header
0 commit comments