-
Notifications
You must be signed in to change notification settings - Fork 62
Description
Hi there,
I am using QSIPrep v0.11.0 through the singularity container using the following command:
singularity run --cleanenv --bind /gpfs/home/vhe17qgu/qsiprep:/qsiprep qsiprep-0.11.0.sif \ qsiprep_test_data \ output_dir \ participant \ --work-dir working_dir \ --fs-license-file license.txt \ --nthreads 8 --unringing-method mrdegibbs \ --hmc-model 3dSHORE \ --prefer-dedicated-fmaps \ --output-resolution 1
I am receiving the following error:
ImportError: cannot import name 'NUMPY_MMAP' from 'nipype.utils'
It seems like this is due to an outdated import according to the Nipype repo? It's a brand new image so not sure why this would happen since the issue was resolved in May 2017 at the following ticket: #1898
EDIT:
I pulled the QSIPrep repo and looked through the code, just looks like a change from
from nipype.utils import NUMPY_MMAP -> from nipype.utils.config import NUMPY_MMAP
will do the job. unfortunately I am unaware of how to edit the code and then rebuild it into a Singularity Container.
Please let me know your thoughts.
Many Thanks,
Chris