edickie / ciftify

The tools of the Human Connectome Project (HCP) adapted for working with non-HCP datasets
https://edickie.github.io/ciftify/
MIT License
116 stars 157 forks source link

Cluster program not first on path #166

Open mangstad opened 2 years ago

mangstad commented 2 years ago

https://github.com/edickie/ciftify/blob/ce1876b22747ef76b797de5056ec38cab8fc5e66/ciftify/bin/ciftify_statclust_report.py#L287

I was trying to use the statclust_report to get peak tables from a CIFTI file. I built my singularity image using the docker2singularity command from the installation instructions. Unfortunately, in that singularity container, when the above referenced command tries to run, it's actually finding a different cluster function located at /usr/local/miniconda/bin/cluster rather than the FSL cluster command. A quick test by hardcoding the path to /usr/lib/fsl/5.0/cluster seems to work fine, so just seems the paths need to be corrected.