-
Notifications
You must be signed in to change notification settings - Fork 135
Description
Summary
In our logs I can see that dcm2niix is saving to a random folder in /tmp. For instance I get messages like this one:
INFO: [Node] Running "convert" ("nipype.interfaces.dcm2nii.Dcm2niix"), a CommandLine Interface with command:
dcm2niix -b y -z y -x n -t n -m n -f func -o . -s n -v n /tmp/dcm2niix0odmo4o6/convert
If we isolate our containers from host, i.e, --contain flag in singularity, then the container /tmp may run out of memory to store all the nifti files. While we have ways to work around this, it took a while to figure out what was going on. Our nii.gz where just showing missing blocks. I think it is unexpected that heudiconv would be using a hardcoded /tmp to temporarily store conversion. Is there a way to change the path or make that assumption more clear to the user?
Platform details:
Choose one:
- Local environment
- Container
This is a custom container
https://hub.docker.com/repository/docker/brownbnc/xnat-tools
All versions contain the same version of heudiconv and dcm2nii
While we create a docker container we use it mostly as a singularity container from our HPC
- Heudiconv version:
- heudiconv —version 0.6.0
- dcm2niiX version v1.0.20190902