FCP-INDI / C-PAC

Configurable Pipeline for the Analysis of Connectomes
https://fcp-indi.github.io/
GNU Lesser General Public License v3.0
64 stars 40 forks source link

🐛 convert_motionxfm2itk sub-nodes crash randomly #2037

Open e-kenneally opened 9 months ago

e-kenneally commented 9 months ago

Describe the bug

Around 10% of the time, one of the convert_motionxfm2itk nodes will crash. It isn't consistent across subjects and re-runs, and it is usually a different sub-node. Running the command by hand always works, so the issue is probably the mapnode.

subprocess.CalledProcessError: Command '['c3d_affine_tool', '-ref', 'ref_bold.nii.gz', '-src', 'ref_bold.nii.gz', 'MAT_0009', '-fsl2ras', '-oitk', 'affine.txt']' returned non-zero exit status 255.

To reproduce

No response

Preconfig

Custom pipeline configuration

No response

Run command

No response

Expected behavior

Ideally all sub-nodes would run successfully!

Acceptance criteria

[ ] Find fix or work-around that prevents the crash

Screenshots

No response

C-PAC version

No response

Container platform

No response

Docker and/or Singularity version(s)

No response

Additional context

No response