Summary of what happened:
I am trying to figure out why standard space surfaces cannot be found. I have already tried binding the the freesurfer directories in two ways shown below this comment, and so far xcp_d doesn’t seem to find it. I inspected the function on xcp_d’s GitHub, utils.bids.get_freesurfer_dir
, and in my opinion xcp_d should be able to find my freesurfer output. But maybe I’m just thinking about it all wrong and the issue is not with finding freesurfer at all. I’d appreciate any help! Besides this, xcp_d runs fine!
-B ${input_dir}/sourcedata/freesurfer
and
-B ${input_dir}/sourcedata/freesurfer:/freesurfer:ro
Command used (and if a helper script was used, a link to the helper script or the command generated):
apptainer run -B ${code_dir}:/code -B /om2/user/dclb/tools/imaging \
-B ${input_dir}:/input:ro -B ${output_dir}:/out:rw -B ${scratch}:/workdir:rw -B ${input_dir}/sourcedata/freesurfer \
--cleanenv ${APP_IMG} \
/input \
/out \
participant \
--participant-label ${subject} \
--bids-filter-file /code/${bids_filter} \
--cifti \
--nprocs 8 --mem-gb 25 \
--input-type fmriprep \
--smoothing 6 \
--min-coverage 0.5 \
--min-time 100 \
--lower-bpf 0.01 \
--upper-bpf 0.08 \
--bpf-order 2 \
--head-radius 50 \
--fd-thresh 0.3 \
--work-dir /workdir \
--clean-workdir \
--resource-monitor
Version:
0.7.5
Environment (Docker, Singularity / Apptainer, custom installation):
Apptainer 1.1.7
Data formatted according to a validatable standard? Please provide the output of the validator:
├── sourcedata
│ └── freesurfer
│ ├── fsaverage
│ │ ├── label
│ │ ├── mri
│ │ │ ├── orig
│ │ │ └── transforms
│ │ │ └── bak
│ │ ├── mri.2mm
│ │ ├── scripts
│ │ ├── surf
│ │ └── xhemi
│ │ ├── bem
│ │ ├── label
│ │ ├── mri
│ │ │ ├── orig
│ │ │ └── transforms
│ │ │ └── bak
│ │ ├── scripts
│ │ ├── src
│ │ ├── stats
│ │ ├── surf
│ │ ├── tmp
│ │ ├── touch
│ │ └── trash
│ └── sub-MM314
│ ├── label
│ ├── mri
│ │ ├── orig
│ │ └── transforms
│ │ └── bak
│ ├── scripts
│ ├── stats
│ ├── surf
│ ├── tmp
│ ├── touch
│ └── trash
└── sub-MM314
├── figures
├── log
│ └── 20230413-223034_521a5bee-98c6-43a2-879e-6c034e92a375
└── ses-baseline
├── anat
├── fmap
└── func
Relevant log outputs (up to 20 lines):
240801-01:32:27,51 nipype.utils INFO:
No standard-space surfaces found.
240801-01:32:27,89 nipype.utils INFO:
No standard-space surfaces found.
240801-01:32:27,128 nipype.utils INFO:
No standard-space surfaces found.
240801-01:32:27,174 nipype.utils INFO:
No standard-space surfaces found.