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

🐛 Freesurfer-based pipeline options cause a hang in a specific use case #2104

Open sgiavasis opened 5 months ago

sgiavasis commented 5 months ago

Describe the bug

When running both recon-all within C-PAC via Nipype and the ABCD surface post-processing workflow, the pipeline tends to hang roughly around the timeseries warp-to-template part of the pipeline, although the warp-to-template portion seems unrelated to the stall (which really confounded the debugging efforts).

This most notably impacts the abcd-options preconfig and/or the options commonly associated with it.

This error will not happen if:

If this error occurs, it can also be bypassed by:

I suspect it is the combination of recon-all and its outputs' Nipype pointer connections to the surface post-processing nodes, in some way. Fortunately, we are moving away from recon-all being run within C-PAC in the near future.

To reproduce

  1. Simply run the abcd-options preconfig with recon-all enabled within C-PAC, instead of ingressing Freesurfer results from a previous Freesurfer run.

Preconfig

Custom pipeline configuration

No response

Run command

No response

Expected behavior

The pipeline should simply complete.

Acceptance criteria

Screenshots

No response

C-PAC version

v1.8.7

Container platform

No response

Docker and/or Singularity version(s)

No response

Additional context

No response