Commit 87592d11 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

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

parent 16c69632
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment