Skip to content
Snippets Groups Projects
Commit 87592d11 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Explicitly do not memmap, otherwise windows has trouble closing file handles.

parent 16c69632
No related branches found
No related tags found
No related merge requests found
......@@ -915,7 +915,7 @@ def fileOrImage(*args, **kwargs):
# create an independent in-memory
# copy of the image file
img = nib.load(path)
img = nib.load(path, mmap=False)
# if any arguments were fsl images,
# that takes precedence.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment