Closed willtack closed 4 years ago
Hi @willtack
The error is from binding. How did you call it from command line?
This is was my command line call:
will@desk:~$ xcpengine-docker \
-d /home/will/data/xcp_testing/cbf.dsn \
-c /home/will/data/xcp_testing/cohort.csv \
-r /home/will/data/xcp_testing/ \
-i /home/will/data/xcp_testing/work \
-o /home/will/data/xcp_testing/output
the issue is in your cohort file. the img,m0 and anat must have the same relative ( -r
)
Hmm, I tried adjusting my paths, with the same -r
as before.
id0,img,m0,anatdir
sub-P68,SPIRAL_V20_HCP_852307506.nii.gz,SPIRAL_V20_HCP_M0_Eq_1.nii.gz,fmriprep/sub-P68/anat
For reference, this is how my directory is set up:
└── xcp_testing
├── cbf.dsn
├── cohort.csv
├── fmriprep
├── output
├── SPIRAL_V20_HCP_852307506.nii.gz
├── SPIRAL_V20_HCP_M0_Eq_1.nii.gz
└── work
I also tried with absolute paths:
id0,img,m0,anatdir
sub-P68,/home/will/data/xcp_testing/SPIRAL_V20_HCP_852307506.nii.gz,/home/will/data/xcp_testing/SPIRAL_V20_HCP_M0_Eq_1.nii.gz,/home/will/data/xcp_testing/fmriprep/sub-P68/anat
With the same results as above.
pls can you use docker image or singularity directly?
I tried the docker image directly:
docker run --rm -it -v /data:/home/will/data \
pennbbl/xcpengine:latest \
-c /home/will/data/xcp_testing/cohort.csv \
-d /home/will/data/xcp_testing/cbf.dsn \
-o /home/will/data/xcp_testing/output \
-i /home/will/data/xcp_testing/work/ \
And received this error. Similar to above but it also can't seem to find the design file. The design file is definitely at that location and identical to what's posted in this repository:
docker run --rm -it -v /data:/home/will/data pennbbl/xcpengine:latest -c /home/will/data/xcp_testing/cohort.csv -d /home/will/data/xcp_testing/cbf.dsn -o /home/will/data/xcp_testing/output -i /home/will/data/xcp_testing/work/
/xcpEngine/xcpEngine: line 12: activate: No such file or directory
[Detected that xcp is in a container]
Received options: -c /home/will/data/xcp_testing/cohort.csv -d /home/will/data/xcp_testing/cbf.dsn -o /home/will/data/xcp_testing/output -i /home/will/data/xcp_testing/work/
$XCPEDIR is /xcpEngine
Constructing a pipeline based on user specifications
····································································
· [D]Missing or empty design file
· [D]Aborting
___________________________________________________________________
Hello,
I am having the same issue where the output of the batch file that I am trying to submit gives me the same outcome as posted above that the design file is empty or not present. I cannot view the replies to @willtack's post from earlier. Any help is appreciated, thank you!
pls use the latest docker image
I am running this on singularity as this is what we have been using at my lab. When running the script on its own, it works. However, when I have tried to submit as an sbatch, it is giving this message.
pull for new singularity image from dockerhub https://xcpengine.readthedocs.io/config/tutorial.html#before-you-begin
Describe the bug Trying to run the cbf pipeline. It prints an error at the very beginning of the run and produces an output folder of log files and mostly empty folders, jsons, and csvs, etc.
Cohort file
Design File
Error message
From group/error/cbf_root-201907091932-9001
Runtime Information Ran with Docker
Additional context I don't think the directory containing the prepackaged pipelines was created, as mentioned in Step 2 here.
To setup xcp, I pip installed the xcpengine-container package.