Issues Running XCP-D

Summary of what happened:

We’ve been processing multi-echo data through fMRIprep and Tedana and everything has gone “smooth” so far. There was a hiccup during the initial fMRIPrep that due to something (I can’t quite remember the reason but it was recommended by the fMRIPrep team) we ended up needing to skip bids-validation due to an issue with the latest version of fMRIPrep. We successfully created our custom confounds and are trying to get XCP-D running but we’re coming into some weird errors that I have a feeling is related to this BIDS issue. Is there a way to skip the BIDS validation in XCP_D if it does it?

Command used (and if a helper script was used, a link to the helper script or the command generated):

The commands used are a bit weird because we needed to run this off of IBM’s bsub system which is not ideal for a lot of neuroimaging purposes. To make XCP-D work we had to create two seperate scripts, one for setting up and calling the run and the other for actually calling XCP-D within the docker image.

#!/bin/sh

# ----------- System Environment Variables-------------- #

# Grab passed in subject
export SUBJECT=$1

# Define storage allocations areas of interest

# Alter the XCP_D entry point to be /bin/bash so it cooperated with bsub and XCP_D
# is not automatically called upon entering the docker image without options.
export LSF_DOCKER_ENTRYPOINT=/bin/bash

export LSF_DOCKER_PRESERVE_ENVIRONMENT=true

# -------- Call to bsub to run the bsub file ------------ #
export OUTPUT_DIR=${STORAGE_ALLOCATION}moochie/analysis/CARE/ME_XCP_kirk_data/
export LSF_DOCKER_VOLUMES="/storage1/fs1/perlmansusan/Active:/storage1/fs1/perlmansusan/Active /scratch1/fs1/perlmansusan:/scratch1/fs1/perlmansusan ${FMRIPREP_DIR}:/fmriprep ${OUTPUT_DIR}:/output ${LICENSE_DIR}:/freesurfer ${CONFOUND_DIR}:/custom_confounds /home/$USER:/home/$USER"
bsub -J $SUBJECT-xcp_d-kirk -oo logs/xcp_d/$SUBJECT-xcp_d-kirk.log -g /$USER/preprocessing < xcp-d_bsub_kirk.sh
# LSBATCH: User input
#!/bin/sh 
#BSUB -G compute-perlmansusan
#BSUB -q general
#BSUB -m general
#BSUB -a 'docker(pennlinc/xcp_d:latest)'
#BSUB -n 16
#BSUB -R 'rusage[mem=26GB] select[mem>25000 && tmp>250]'

TMP_DIR=`ls /tmp/`

cd /fmriprep

mkdir /tmp/$TMP_DIR/scratch
mkdir /tmp/$TMP_DIR/output

ls /fmriprep

/usr/local/miniconda/bin/xcp_d /fmriprep /tmp/$TMP_DIR/output participant \
    --participant-label sub-$SUBJECT \
    -w /tmp/$TMP_DIR/scratch \
    --low-mem \
    --fs-license-file $LICENSE_DIR\license.txt \
    --mode none \
    --input-type fmriprep \
    --file-format nifti \
    --despike y \
    -p none \
    -c /custom_confounds \
    --smoothing 0 \
    --motion-filter-type none \
    -r 40 \
    -f 0.3 \
    --min-time 0 \
    --output-type censored \
    --min-coverage 0.25 \
    --abcc-qc y \
    --combine-runs n\
    --linc-qc y \
    --warp-surfaces-native2std n

cp -r /tmp/$TMP_DIR/output/ /output/

Version:

docker image pennlinc/xcp_d:latest(0.9.1?)

Environment (Docker, Singularity / Apptainer, custom installation):

We ran this on LSF bsub system using the XCP-D docker image.

Data formatted according to a validatable standard? Please provide the output of the validator:

We had to skip during fMRIPrep validation due to an error with the fmriprep version we were using, this was recommended by the fMRIPrep creator’s due to the specific error we encountered. However all subjects (~180) were processed through fMRIprep and Tedana successfully without errors. That being said

Relevant log outputs (up to 20 lines):

Atlas 'MIDB' requires CIFTI processing. Skipping atlas.
Atlas 'MyersLabonte' requires CIFTI processing. Skipping atlas.
Custom confounds were provided, but --nuisance-regressors was set to none. Overriding the 'none' value and setting to 'custom'.
Traceback (most recent call last):
  File "/usr/local/miniconda/bin/xcp_d", line 8, in <module>
    sys.exit(main())
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/cli/run.py", line 27, in main
    parse_args(args=sys.argv[1:])
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/cli/parser.py", line 868, in parse_args
    config.from_dict({})
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/config.py", line 664, in from_dict
    execution.load(settings, init=initialize("execution"), ignore=ignore)
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/config.py", line 237, in load
    cls.init()
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/config.py", line 478, in init
    cls._layout = BIDSLayout(
  File "/usr/local/miniconda/lib/python3.10/site-packages/bids/layout/layout.py", line 177, in __init__
    _indexer(self)
  File "/usr/local/miniconda/lib/python3.10/site-packages/bids/layout/index.py", line 148, in __call__
    all_bfs, all_tag_dicts = self._index_dir(self._layout._root, self._config)
  File "/usr/local/miniconda/lib/python3.10/site-packages/bids/layout/index.py", line 208, in _index_dir
    _, dirnames, filenames = next(path.fs.walk(path.path))
StopIteration: ('/fmriprep', [], [])

Screenshots / relevant information:


Can you share the tree output for /fmriprep? It seems like the folder might be empty based on that error.

Hey @tsalo, I hope you had a great weekend! Here’s the output of a tree call in my main /fmriprep folder. I originally had all the data in the main /fmriprep folder but moved it too /fmriprep/derivatives/fmriprep thinking this was how fMRIPrep outputs it typically, but I could definitely be wrong. Also just realizing we have two copies of the data in both derivates/fmriprep and output :man_facepalming:

dennys@compute1-exec-130:~/moochie/analysis/CARE/ME_fMRIPrep_data$ tree -L 3
.
├── dataset_description.json
├── derivates
│   └── fmriprep
│       ├── sub-50001
....
│       └── sub-52521
├── desc-aparcaseg_dseg.tsv
├── desc-aseg_dseg.tsv
├── logs
│   ├── CITATION.bib
│   ├── CITATION.html
│   ├── CITATION.md
│   └── CITATION.tex
├── output
│   ├── dataset_description.json
│   ├── desc-aparcaseg_dseg.tsv
│   ├── desc-aseg_dseg.tsv
│   ├── logs
│   │   ├── CITATION.bib
│   │   ├── CITATION.html
│   │   ├── CITATION.md
│   │   └── CITATION.tex
│   ├── sourcedata
│   │   └── freesurfer
│   ├── sub-50001
│   │   ├── anat
│   │   ├── figures
│   │   ├── log
│   │   ├── ses-0
│   │   ├── ses-1
│   │   └── ses-2
│   ├── sub-50001.html
│   ├── sub-50032
│   │   ├── figures
│   │   ├── log
│   │   └── ses-0
│   ├── sub-50032.html
...
│   ├── sub-52551
│   │   ├── figures
│   │   ├── log
│   │   └── ses-0
│   └── sub-52551.html
├── sourcedata
│   └── freesurfer
│       ├── fsaverage
│       ├── sub-50001
...
│       └── sub-52521

Hi @DennyS,

I am not familiar with bsub but it doesn’t look like FMRIPREP_DIR is defined before it is mapped to /fmriprep in this line.

Best,
Steven

Hey Steven,

Thanks for your help with this! Sorry I don’t know why but I deleted that from the post thinking it wasn’t relevant. I do define those folders the following way…

# Define storage allocations areas of interest
export STORAGE_ALLOCATION=/storage1/fs1/perlmansusan/Active/
export FMRIPREP_DIR=${STORAGE_ALLOCATION}moochie/analysis/CARE/ME_fMRIPrep_data/
export SCRATCH_DIR=${STORAGE_ALLOCATION}moochie/analysis/CARE/ME_scratch/
export LICENSE_DIR=${STORAGE_ALLOCATION}moochie/github/LCBDtools/scripts/MRI/fmriprep/
export CONFOUND_DIR=${STORAGE_ALLOCATION}moochie/analysis/CARE/custom_confounds/

I also in the script have it list the /fmriprep directory before calling to xcp-d and it seems to be mounting everything correctly to that directory

Hi @DennyS,

The input directory for xcp_d should contain the fmriprep derivatives, not the BIDS root directory. So it should contain the subject-level fmriprep output folders. E.g., ~/moochie/analysis/CARE/ME_fMRIPrep_data/derivatives/fmriprep.

Best,
Steven

Ohhhh that would make a lot of sense haha! I was originally getting this error when I was specifying the /derivates/fmriprep at the input folder…

No dataset_description.json file found in input directory. Make sure to point to the specific pipeline's derivatives folder. For example, use '/dset/derivatives/fmriprep', not /dset/derivatives'.
Traceback (most recent call last):
  File "/usr/local/miniconda/bin/xcp_d", line 8, in <module>
    sys.exit(main())
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/cli/run.py", line 27, in main
    parse_args(args=sys.argv[1:])
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/cli/parser.py", line 868, in parse_args
    config.from_dict({})
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/config.py", line 664, in from_dict
    execution.load(settings, init=initialize("execution"), ignore=ignore)
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/config.py", line 237, in load
    cls.init()
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/config.py", line 478, in init
    cls._layout = BIDSLayout(
  File "/usr/local/miniconda/lib/python3.10/site-packages/bids/layout/layout.py", line 135, in __init__
    root, description = validate_root(root, validate)
  File "/usr/local/miniconda/lib/python3.10/site-packages/bids/layout/validation.py", line 74, in validate_root
    raise BIDSValidationError(
bids.exceptions.BIDSValidationError: 'dataset_description.json' is missing from project root. Every valid BIDS dataset must have this file.
Example contents of 'dataset_description.json': 
{"Name": "Example dataset", "BIDSVersion": "1.0.2"}

Which made me think I needed to give the BIDS folder but I must have just been mistaken. I’ll just copy over the dataset description to the derivatives folder though and I’m sure that’ll fix that error :slight_smile:

Recent fmriprep versions should be making dataset_description.json in the output dir by default, but I don’t know if you are doing something special for fmriprep (e.g., running in a temp directory and only copying subject output folders to final destination).

Ohhhh interesting, good to know! Yeah it looks like we are just grabbing the core files so it probably just didn’t copy over. Good news is that it’s running but weirdly it can’t find the subject I’m running it on.

Atlas 'MIDB' requires CIFTI processing. Skipping atlas.
Atlas 'MyersLabonte' requires CIFTI processing. Skipping atlas.
Custom confounds were provided, but --nuisance-regressors was set to none. Overriding the 'none' value and setting to 'custom'.
usage: xcp_d [-h] --mode {abcd,hbcd,linc,none} [--version]
             [--participant-label PARTICIPANT_LABEL [PARTICIPANT_LABEL ...]]
             [-t TASK_ID] [--bids-filter-file FILE] [--bids-database-dir PATH]
             [--nprocs NPROCS] [--omp-nthreads OMP_NTHREADS]
             [--mem-gb MEMORY_GB] [--low-mem] [--use-plugin USE_PLUGIN] [-v]
             [--input-type {fmriprep,dcan,hcp,nibabies,ukb}]
             [--file-format {auto,cifti,nifti}] [--dummy-scans {{auto,INT}}]
             [--despike [{y,n}]]
             [-p {27P,36P,24P,acompcor,aroma,acompcor_gsr,aroma_gsr,custom,none,gsr_only}]
             [-c CUSTOM_CONFOUNDS] [--smoothing SMOOTHING] [-m [{y,n}]]
             [--motion-filter-type {lp,notch,none}] [--band-stop-min BPM]
             [--band-stop-max BPM] [--motion-filter-order MOTION_FILTER_ORDER]
             [-r HEAD_RADIUS] [-f FD_THRESH] [--min-time MIN_TIME]
             [--output-type {auto,censored,interpolated}]
             [--disable-bandpass-filter] [--lower-bpf HIGH_PASS]
             [--upper-bpf LOW_PASS] [--bpf-order BPF_ORDER]
             [--atlases ATLAS [ATLAS ...] | --skip-parcellation]
             [--min-coverage MIN_COVERAGE]
             [--create-matrices DCAN_CORRELATION_LENGTHS [DCAN_CORRELATION_LENGTHS ...]]
             [--random-seed _RANDOM_SEED] [--linc-qc [{y,n}]]
             [--abcc-qc [{y,n}]]
             [--aggregate-session-reports AGGR_SES_REPORTS] [-w WORK_DIR]
             [--clean-workdir] [--resource-monitor] [--config-file FILE]
             [--write-graph] [--stop-on-first-crash] [--notrack]
             [--debug {pdb,all} [{pdb,all} ...]] [--fs-license-file FILE]
             [--md-only-boilerplate] [--boilerplate-only] [--reports-only]
             [--warp-surfaces-native2std [{y,n}]]
             fmri_dir output_dir {participant}
xcp_d: error: One or more participant labels were not found in the BIDS directory: sub-50001.

Even though earlier on in the call I’m having it list out the /fmriprep directory and it’s definitely within the folder :thinking:

dataset_description.json
sub-50001
sub-50032
sub-50071
sub-50081
sub-50091
sub-50092
sub-50111
sub-50121
sub-50131
sub-50171
sub-50181
sub-50191
sub-50211
sub-50221
sub-50231
sub-50241
sub-50251
sub-50291
sub-50301
sub-50321
sub-50322
sub-50331
sub-50341
sub-50342
sub-50351
sub-50371
sub-50381
sub-50391
sub-50401
sub-50421
sub-50422
sub-50431
sub-50441
sub-50451
sub-50461
sub-50481
sub-50491
sub-50501
sub-50502
sub-50511
sub-50512
sub-50521
sub-50591
sub-50592
sub-50601
sub-50602
sub-50611
sub-50621
sub-50631
sub-50701
sub-50711
sub-50731
sub-50751
sub-50771
sub-50801
sub-50802
sub-50831
sub-50832
sub-50851
sub-50861
sub-50871
sub-50911
sub-50921
sub-50941
sub-50942
sub-50961
sub-50962
sub-50971
sub-50981
sub-50991
sub-50992
sub-51001
sub-51011
sub-51021
sub-51041
sub-51051
sub-51081
sub-51101
sub-51121
sub-51131
sub-51132
sub-51141
sub-51161
sub-51171
sub-51201
sub-51211
sub-51221
sub-51231
sub-51261
sub-51271
sub-51281
sub-51301
sub-51331
sub-51341
sub-51361
sub-51382
sub-5143
sub-51441
sub-51461
sub-51481
sub-51491
sub-51501
sub-51511
sub-51571
sub-51601
sub-51631
sub-51651
sub-51652
sub-51661
sub-51662
sub-51701
sub-51702
sub-51741
sub-51751
sub-51771
sub-51781
sub-51841
sub-51851
sub-51881
sub-51891
sub-51921
sub-51931
sub-52002
sub-52011
sub-52031
sub-52071
sub-52121
sub-52141
sub-52151
sub-52161
sub-52181
sub-52191
sub-52192
sub-52281
sub-52291
sub-52292
sub-52301
sub-52321
sub-52351
sub-52371
sub-52431
sub-52511
sub-52512
sub-52521

Also looking through the folder it appears all the derivates for this subject are within the folder. Here’s the contents of sub-50001 folder…

dennys@compute1-exec-136:~/moochie/analysis/CARE/ME_fMRIPrep_data/derivates/fmriprep/sub-50001$ tree -L 3
.
├── anat
│   ├── sub-50001_desc-brain_mask.json
│   ├── sub-50001_desc-brain_mask.nii
│   ├── sub-50001_desc-brain_mask.nii.gz
│   ├── sub-50001_desc-preproc_T1w.json
│   ├── sub-50001_desc-preproc_T1w.nii
│   ├── sub-50001_desc-preproc_T1w.nii.gz
│   ├── sub-50001_desc-ribbon_mask.json
│   ├── sub-50001_desc-ribbon_mask.nii
│   ├── sub-50001_desc-ribbon_mask.nii.gz
│   ├── sub-50001_dseg.nii
│   ├── sub-50001_dseg.nii.gz
│   ├── sub-50001_from-fsnative_to-T1w_mode-image_xfm.txt
│   ├── sub-50001_from-MNI152NLin2009cAsym_to-T1w_mode-image_xfm.h5
│   ├── sub-50001_from-MNI152NLin6Asym_to-T1w_mode-image_xfm.h5
│   ├── sub-50001_from-MNIPediatricAsym+2_to-T1w_mode-image_xfm.h5
│   ├── sub-50001_from-T1w_to-fsnative_mode-image_xfm.txt
│   ├── sub-50001_from-T1w_to-MNI152NLin2009cAsym_mode-image_xfm.h5
│   ├── sub-50001_from-T1w_to-MNI152NLin6Asym_mode-image_xfm.h5
│   ├── sub-50001_from-T1w_to-MNIPediatricAsym+2_mode-image_xfm.h5
│   ├── sub-50001_hemi-L_desc-reg_sphere.surf.gii
│   ├── sub-50001_hemi-L_midthickness.surf.gii
│   ├── sub-50001_hemi-L_pial.surf.gii
│   ├── sub-50001_hemi-L_space-fsLR_desc-msmsulc_sphere.surf.gii
│   ├── sub-50001_hemi-L_space-fsLR_desc-reg_sphere.surf.gii
│   ├── sub-50001_hemi-L_sphere.surf.gii
│   ├── sub-50001_hemi-L_sulc.shape.gii
│   ├── sub-50001_hemi-L_thickness.shape.gii
│   ├── sub-50001_hemi-L_white.surf.gii
│   ├── sub-50001_hemi-R_desc-reg_sphere.surf.gii
│   ├── sub-50001_hemi-R_midthickness.surf.gii
│   ├── sub-50001_hemi-R_pial.surf.gii
│   ├── sub-50001_hemi-R_space-fsLR_desc-msmsulc_sphere.surf.gii
│   ├── sub-50001_hemi-R_space-fsLR_desc-reg_sphere.surf.gii
│   ├── sub-50001_hemi-R_sphere.surf.gii
│   ├── sub-50001_hemi-R_sulc.shape.gii
│   ├── sub-50001_hemi-R_thickness.shape.gii
│   ├── sub-50001_hemi-R_white.surf.gii
│   ├── sub-50001_label-CSF_probseg.nii
│   ├── sub-50001_label-CSF_probseg.nii.gz
│   ├── sub-50001_label-GM_probseg.nii
│   ├── sub-50001_label-GM_probseg.nii.gz
│   ├── sub-50001_label-WM_probseg.nii
│   ├── sub-50001_label-WM_probseg.nii.gz
│   ├── sub-50001_space-MNI152NLin2009cAsym_desc-brain_mask.json
│   ├── sub-50001_space-MNI152NLin2009cAsym_desc-brain_mask.nii
│   ├── sub-50001_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
│   ├── sub-50001_space-MNI152NLin2009cAsym_desc-preproc_T1w.json
│   ├── sub-50001_space-MNI152NLin2009cAsym_desc-preproc_T1w.nii
│   ├── sub-50001_space-MNI152NLin2009cAsym_desc-preproc_T1w.nii.gz
│   ├── sub-50001_space-MNI152NLin2009cAsym_dseg.nii
│   ├── sub-50001_space-MNI152NLin2009cAsym_dseg.nii.gz
│   ├── sub-50001_space-MNI152NLin2009cAsym_label-CSF_probseg.nii
│   ├── sub-50001_space-MNI152NLin2009cAsym_label-CSF_probseg.nii.gz
│   ├── sub-50001_space-MNI152NLin2009cAsym_label-GM_probseg.nii
│   ├── sub-50001_space-MNI152NLin2009cAsym_label-GM_probseg.nii.gz
│   ├── sub-50001_space-MNI152NLin2009cAsym_label-WM_probseg.nii
│   ├── sub-50001_space-MNI152NLin2009cAsym_label-WM_probseg.nii.gz
│   ├── sub-50001_space-MNI152NLin6Asym_desc-brain_mask.json
│   ├── sub-50001_space-MNI152NLin6Asym_desc-brain_mask.nii
│   ├── sub-50001_space-MNI152NLin6Asym_desc-brain_mask.nii.gz
│   ├── sub-50001_space-MNI152NLin6Asym_desc-preproc_T1w.json
│   ├── sub-50001_space-MNI152NLin6Asym_desc-preproc_T1w.nii
│   ├── sub-50001_space-MNI152NLin6Asym_desc-preproc_T1w.nii.gz
│   ├── sub-50001_space-MNI152NLin6Asym_dseg.nii
│   ├── sub-50001_space-MNI152NLin6Asym_dseg.nii.gz
│   ├── sub-50001_space-MNI152NLin6Asym_label-CSF_probseg.nii
│   ├── sub-50001_space-MNI152NLin6Asym_label-CSF_probseg.nii.gz
│   ├── sub-50001_space-MNI152NLin6Asym_label-GM_probseg.nii
│   ├── sub-50001_space-MNI152NLin6Asym_label-GM_probseg.nii.gz
│   ├── sub-50001_space-MNI152NLin6Asym_label-WM_probseg.nii
│   ├── sub-50001_space-MNI152NLin6Asym_label-WM_probseg.nii.gz
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.json
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.nii
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.nii.gz
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_T1w.json
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_T1w.nii
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_T1w.nii.gz
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_dseg.json
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_dseg.nii
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_dseg.nii.gz
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_label-CSF_probseg.nii
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_label-CSF_probseg.nii.gz
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_label-GM_probseg.nii
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_label-GM_probseg.nii.gz
│   ├── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_label-WM_probseg.nii
│   └── sub-50001_space-MNIPediatricAsym_cohort-2_res-2_label-WM_probseg.nii.gz
├── figures
│   ├── sub-50001_desc-conform_T1w.html
│   ├── sub-50001_desc-reconall_T1w.svg
│   ├── sub-50001_dseg.svg
│   ├── sub-50001_ses-0_desc-about_T1w.html
│   ├── sub-50001_ses-0_desc-summary_T1w.html
│   ├── sub-50001_ses-0_fmapid-auto00000_desc-pepolar_fieldmap.svg
│   ├── sub-50001_ses-0_task-movieA_desc-carpetplot_bold.svg
│   ├── sub-50001_ses-0_task-movieA_desc-compcorvar_bold.svg
│   ├── sub-50001_ses-0_task-movieA_desc-confoundcorr_bold.svg
│   ├── sub-50001_ses-0_task-movieA_desc-coreg_bold.svg
│   ├── sub-50001_ses-0_task-movieA_desc-fmapCoreg_bold.svg
│   ├── sub-50001_ses-0_task-movieA_desc-rois_bold.svg
│   ├── sub-50001_ses-0_task-movieA_desc-sdc_bold.svg
│   ├── sub-50001_ses-0_task-movieA_desc-summary_bold.html
│   ├── sub-50001_ses-0_task-movieA_desc-t2scomp_bold.svg
│   ├── sub-50001_ses-0_task-movieA_desc-t2starhist_bold.svg
│   ├── sub-50001_ses-0_task-movieA_desc-validation_bold.html
│   ├── sub-50001_ses-1_fmapid-auto00001_desc-pepolar_fieldmap.svg
│   ├── sub-50001_ses-1_task-movieB_desc-carpetplot_bold.svg
│   ├── sub-50001_ses-1_task-movieB_desc-compcorvar_bold.svg
│   ├── sub-50001_ses-1_task-movieB_desc-confoundcorr_bold.svg
│   ├── sub-50001_ses-1_task-movieB_desc-coreg_bold.svg
│   ├── sub-50001_ses-1_task-movieB_desc-fmapCoreg_bold.svg
│   ├── sub-50001_ses-1_task-movieB_desc-rois_bold.svg
│   ├── sub-50001_ses-1_task-movieB_desc-sdc_bold.svg
│   ├── sub-50001_ses-1_task-movieB_desc-summary_bold.html
│   ├── sub-50001_ses-1_task-movieB_desc-t2scomp_bold.svg
│   ├── sub-50001_ses-1_task-movieB_desc-t2starhist_bold.svg
│   ├── sub-50001_ses-1_task-movieB_desc-validation_bold.html
│   ├── sub-50001_ses-2_fmapid-auto00002_desc-pepolar_fieldmap.svg
│   ├── sub-50001_ses-2_task-movieC_desc-carpetplot_bold.svg
│   ├── sub-50001_ses-2_task-movieC_desc-compcorvar_bold.svg
│   ├── sub-50001_ses-2_task-movieC_desc-confoundcorr_bold.svg
│   ├── sub-50001_ses-2_task-movieC_desc-coreg_bold.svg
│   ├── sub-50001_ses-2_task-movieC_desc-fmapCoreg_bold.svg
│   ├── sub-50001_ses-2_task-movieC_desc-rois_bold.svg
│   ├── sub-50001_ses-2_task-movieC_desc-sdc_bold.svg
│   ├── sub-50001_ses-2_task-movieC_desc-summary_bold.html
│   ├── sub-50001_ses-2_task-movieC_desc-t2scomp_bold.svg
│   ├── sub-50001_ses-2_task-movieC_desc-t2starhist_bold.svg
│   ├── sub-50001_ses-2_task-movieC_desc-validation_bold.html
│   ├── sub-50001_space-MNI152NLin2009cAsym_T1w.svg
│   ├── sub-50001_space-MNI152NLin6Asym_T1w.svg
│   └── sub-50001_space-MNIPediatricAsym_T1w.svg
├── log
│   ├── 20240728-165818_dbc60f46-cef0-4567-b5b8-5d461026ccbe
│   │   └── fmriprep.toml
│   ├── 20240730-194451_82ef4fb2-cd51-4604-9505-d3c3298770a1
│   │   └── fmriprep.toml
│   └── 20240730-194451_bf72d050-d60d-42db-b0d7-b542b68571e5
│       └── fmriprep.toml
├── ses-0
│   ├── anat
│   │   └── sub-50001_ses-0_from-orig_to-T1w_mode-image_xfm.txt
│   ├── fmap
│   │   ├── sub-50001_ses-0_fmapid-auto00000_desc-coeff_fieldmap.nii
│   │   ├── sub-50001_ses-0_fmapid-auto00000_desc-coeff_fieldmap.nii.gz
│   │   ├── sub-50001_ses-0_fmapid-auto00000_desc-epi_fieldmap.nii
│   │   ├── sub-50001_ses-0_fmapid-auto00000_desc-epi_fieldmap.nii.gz
│   │   ├── sub-50001_ses-0_fmapid-auto00000_desc-preproc_fieldmap.json
│   │   ├── sub-50001_ses-0_fmapid-auto00000_desc-preproc_fieldmap.nii
│   │   └── sub-50001_ses-0_fmapid-auto00000_desc-preproc_fieldmap.nii.gz
│   └── func
│       ├── sub-50001_ses-0_task-movieA_desc-brain_mask.json
│       ├── sub-50001_ses-0_task-movieA_desc-brain_mask.nii
│       ├── sub-50001_ses-0_task-movieA_desc-brain_mask.nii.gz
│       ├── sub-50001_ses-0_task-movieA_desc-confounds_framewise_displacement.txt
│       ├── sub-50001_ses-0_task-movieA_desc-confounds_rot_x.txt
│       ├── sub-50001_ses-0_task-movieA_desc-confounds_rot_y.txt
│       ├── sub-50001_ses-0_task-movieA_desc-confounds_rot_z.txt
│       ├── sub-50001_ses-0_task-movieA_desc-confounds_timeseries.json
│       ├── sub-50001_ses-0_task-movieA_desc-confounds_timeseries.tsv
│       ├── sub-50001_ses-0_task-movieA_desc-confounds_trans_x.txt
│       ├── sub-50001_ses-0_task-movieA_desc-confounds_trans_y.txt
│       ├── sub-50001_ses-0_task-movieA_desc-confounds_trans_z.txt
│       ├── sub-50001_ses-0_task-movieA_desc-coreg_boldref.json
│       ├── sub-50001_ses-0_task-movieA_desc-coreg_boldref.nii
│       ├── sub-50001_ses-0_task-movieA_desc-coreg_boldref.nii.gz
│       ├── sub-50001_ses-0_task-movieA_desc-hmc_boldref.json
│       ├── sub-50001_ses-0_task-movieA_desc-hmc_boldref.nii
│       ├── sub-50001_ses-0_task-movieA_desc-hmc_boldref.nii.gz
│       ├── sub-50001_ses-0_task-movieA_echo-1_desc-preproc_bold.json
│       ├── sub-50001_ses-0_task-movieA_echo-1_desc-preproc_bold.nii
│       ├── sub-50001_ses-0_task-movieA_echo-1_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-0_task-movieA_echo-2_desc-preproc_bold.json
│       ├── sub-50001_ses-0_task-movieA_echo-2_desc-preproc_bold.nii
│       ├── sub-50001_ses-0_task-movieA_echo-2_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-0_task-movieA_echo-3_desc-preproc_bold.json
│       ├── sub-50001_ses-0_task-movieA_echo-3_desc-preproc_bold.nii
│       ├── sub-50001_ses-0_task-movieA_echo-3_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-0_task-movieA_from-boldref_to-auto00000_mode-image_xfm.json
│       ├── sub-50001_ses-0_task-movieA_from-boldref_to-auto00000_mode-image_xfm.txt
│       ├── sub-50001_ses-0_task-movieA_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
│       ├── sub-50001_ses-0_task-movieA_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
│       ├── sub-50001_ses-0_task-movieA_from-orig_to-boldref_mode-image_desc-hmc_xfm.json
│       ├── sub-50001_ses-0_task-movieA_from-orig_to-boldref_mode-image_desc-hmc_xfm.txt
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_boldref.json
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_boldref.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_boldref.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_desc-brain_mask.json
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_desc-brain_mask.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_desc-preproc_bold-6mm_smoothed.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_desc-preproc_bold.json
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_desc-preproc_bold.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_T2starmap.json
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_T2starmap.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin2009cAsym_T2starmap.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_boldref.json
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_boldref.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_boldref.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_desc-brain_mask.json
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_desc-brain_mask.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_desc-brain_mask.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_desc-preproc_bold-6mm_smoothed.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_desc-preproc_bold.json
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_desc-preproc_bold.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_T2starmap.json
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_T2starmap.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_T2starmap.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_boldref.json
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_boldref.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_boldref.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.json
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_bold.json
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_bold.nii
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_T2starmap.json
│       ├── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_T2starmap.nii
│       └── sub-50001_ses-0_task-movieA_space-MNIPediatricAsym_cohort-2_res-2_T2starmap.nii.gz
├── ses-1
│   ├── anat
│   │   ├── sub-50001_ses-1_run-01_from-orig_to-T1w_mode-image_xfm.txt
│   │   └── sub-50001_ses-1_run-02_from-orig_to-T1w_mode-image_xfm.txt
│   ├── fmap
│   │   ├── sub-50001_ses-1_fmapid-auto00001_desc-coeff_fieldmap.nii
│   │   ├── sub-50001_ses-1_fmapid-auto00001_desc-coeff_fieldmap.nii.gz
│   │   ├── sub-50001_ses-1_fmapid-auto00001_desc-epi_fieldmap.nii
│   │   ├── sub-50001_ses-1_fmapid-auto00001_desc-epi_fieldmap.nii.gz
│   │   ├── sub-50001_ses-1_fmapid-auto00001_desc-preproc_fieldmap.json
│   │   ├── sub-50001_ses-1_fmapid-auto00001_desc-preproc_fieldmap.nii
│   │   └── sub-50001_ses-1_fmapid-auto00001_desc-preproc_fieldmap.nii.gz
│   └── func
│       ├── sub-50001_ses-1_task-movieB_desc-brain_mask.json
│       ├── sub-50001_ses-1_task-movieB_desc-brain_mask.nii
│       ├── sub-50001_ses-1_task-movieB_desc-brain_mask.nii.gz
│       ├── sub-50001_ses-1_task-movieB_desc-confounds_framewise_displacement.txt
│       ├── sub-50001_ses-1_task-movieB_desc-confounds_rot_x.txt
│       ├── sub-50001_ses-1_task-movieB_desc-confounds_rot_y.txt
│       ├── sub-50001_ses-1_task-movieB_desc-confounds_rot_z.txt
│       ├── sub-50001_ses-1_task-movieB_desc-confounds_timeseries.json
│       ├── sub-50001_ses-1_task-movieB_desc-confounds_timeseries.tsv
│       ├── sub-50001_ses-1_task-movieB_desc-confounds_trans_x.txt
│       ├── sub-50001_ses-1_task-movieB_desc-confounds_trans_y.txt
│       ├── sub-50001_ses-1_task-movieB_desc-confounds_trans_z.txt
│       ├── sub-50001_ses-1_task-movieB_desc-coreg_boldref.json
│       ├── sub-50001_ses-1_task-movieB_desc-coreg_boldref.nii
│       ├── sub-50001_ses-1_task-movieB_desc-coreg_boldref.nii.gz
│       ├── sub-50001_ses-1_task-movieB_desc-hmc_boldref.json
│       ├── sub-50001_ses-1_task-movieB_desc-hmc_boldref.nii
│       ├── sub-50001_ses-1_task-movieB_desc-hmc_boldref.nii.gz
│       ├── sub-50001_ses-1_task-movieB_echo-1_desc-preproc_bold.json
│       ├── sub-50001_ses-1_task-movieB_echo-1_desc-preproc_bold.nii
│       ├── sub-50001_ses-1_task-movieB_echo-1_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-1_task-movieB_echo-2_desc-preproc_bold.json
│       ├── sub-50001_ses-1_task-movieB_echo-2_desc-preproc_bold.nii
│       ├── sub-50001_ses-1_task-movieB_echo-2_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-1_task-movieB_echo-3_desc-preproc_bold.json
│       ├── sub-50001_ses-1_task-movieB_echo-3_desc-preproc_bold.nii
│       ├── sub-50001_ses-1_task-movieB_echo-3_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-1_task-movieB_from-boldref_to-auto00001_mode-image_xfm.json
│       ├── sub-50001_ses-1_task-movieB_from-boldref_to-auto00001_mode-image_xfm.txt
│       ├── sub-50001_ses-1_task-movieB_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
│       ├── sub-50001_ses-1_task-movieB_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
│       ├── sub-50001_ses-1_task-movieB_from-orig_to-boldref_mode-image_desc-hmc_xfm.json
│       ├── sub-50001_ses-1_task-movieB_from-orig_to-boldref_mode-image_desc-hmc_xfm.txt
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_boldref.json
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_boldref.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_boldref.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_desc-brain_mask.json
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_desc-brain_mask.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_desc-preproc_bold-6mm_smoothed.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_desc-preproc_bold.json
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_desc-preproc_bold.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_T2starmap.json
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_T2starmap.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin2009cAsym_T2starmap.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_boldref.json
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_boldref.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_boldref.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_desc-brain_mask.json
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_desc-brain_mask.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_desc-brain_mask.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_desc-preproc_bold-6mm_smoothed.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_desc-preproc_bold.json
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_desc-preproc_bold.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_T2starmap.json
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_T2starmap.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_T2starmap.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_boldref.json
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_boldref.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_boldref.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.json
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_bold.json
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_bold.nii
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_bold.nii.gz
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_T2starmap.json
│       ├── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_T2starmap.nii
│       └── sub-50001_ses-1_task-movieB_space-MNIPediatricAsym_cohort-2_res-2_T2starmap.nii.gz
└── ses-2
    ├── anat
    │   ├── sub-50001_ses-2_run-01_from-orig_to-T1w_mode-image_xfm.txt
    │   └── sub-50001_ses-2_run-02_from-orig_to-T1w_mode-image_xfm.txt
    ├── fmap
    │   ├── sub-50001_ses-2_fmapid-auto00002_desc-coeff_fieldmap.nii
    │   ├── sub-50001_ses-2_fmapid-auto00002_desc-coeff_fieldmap.nii.gz
    │   ├── sub-50001_ses-2_fmapid-auto00002_desc-epi_fieldmap.nii
    │   ├── sub-50001_ses-2_fmapid-auto00002_desc-epi_fieldmap.nii.gz
    │   ├── sub-50001_ses-2_fmapid-auto00002_desc-preproc_fieldmap.json
    │   ├── sub-50001_ses-2_fmapid-auto00002_desc-preproc_fieldmap.nii
    │   └── sub-50001_ses-2_fmapid-auto00002_desc-preproc_fieldmap.nii.gz
    └── func
        ├── sub-50001_ses-2_task-movieC_desc-brain_mask.json
        ├── sub-50001_ses-2_task-movieC_desc-brain_mask.nii
        ├── sub-50001_ses-2_task-movieC_desc-brain_mask.nii.gz
        ├── sub-50001_ses-2_task-movieC_desc-confounds_framewise_displacement.txt
        ├── sub-50001_ses-2_task-movieC_desc-confounds_rot_x.txt
        ├── sub-50001_ses-2_task-movieC_desc-confounds_rot_y.txt
        ├── sub-50001_ses-2_task-movieC_desc-confounds_rot_z.txt
        ├── sub-50001_ses-2_task-movieC_desc-confounds_timeseries.json
        ├── sub-50001_ses-2_task-movieC_desc-confounds_timeseries.tsv
        ├── sub-50001_ses-2_task-movieC_desc-confounds_trans_x.txt
        ├── sub-50001_ses-2_task-movieC_desc-confounds_trans_y.txt
        ├── sub-50001_ses-2_task-movieC_desc-confounds_trans_z.txt
        ├── sub-50001_ses-2_task-movieC_desc-coreg_boldref.json
        ├── sub-50001_ses-2_task-movieC_desc-coreg_boldref.nii
        ├── sub-50001_ses-2_task-movieC_desc-coreg_boldref.nii.gz
        ├── sub-50001_ses-2_task-movieC_desc-hmc_boldref.json
        ├── sub-50001_ses-2_task-movieC_desc-hmc_boldref.nii
        ├── sub-50001_ses-2_task-movieC_desc-hmc_boldref.nii.gz
        ├── sub-50001_ses-2_task-movieC_echo-1_desc-preproc_bold.json
        ├── sub-50001_ses-2_task-movieC_echo-1_desc-preproc_bold.nii
        ├── sub-50001_ses-2_task-movieC_echo-1_desc-preproc_bold.nii.gz
        ├── sub-50001_ses-2_task-movieC_echo-2_desc-preproc_bold.json
        ├── sub-50001_ses-2_task-movieC_echo-2_desc-preproc_bold.nii
        ├── sub-50001_ses-2_task-movieC_echo-2_desc-preproc_bold.nii.gz
        ├── sub-50001_ses-2_task-movieC_echo-3_desc-preproc_bold.json
        ├── sub-50001_ses-2_task-movieC_echo-3_desc-preproc_bold.nii
        ├── sub-50001_ses-2_task-movieC_echo-3_desc-preproc_bold.nii.gz
        ├── sub-50001_ses-2_task-movieC_from-boldref_to-auto00002_mode-image_xfm.json
        ├── sub-50001_ses-2_task-movieC_from-boldref_to-auto00002_mode-image_xfm.txt
        ├── sub-50001_ses-2_task-movieC_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
        ├── sub-50001_ses-2_task-movieC_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
        ├── sub-50001_ses-2_task-movieC_from-orig_to-boldref_mode-image_desc-hmc_xfm.json
        ├── sub-50001_ses-2_task-movieC_from-orig_to-boldref_mode-image_desc-hmc_xfm.txt
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_boldref.json
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_boldref.nii
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_boldref.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_desc-brain_mask.json
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_desc-brain_mask.nii
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_desc-preproc_bold-6mm_smoothed.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_desc-preproc_bold.json
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_desc-preproc_bold.nii
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_T2starmap.json
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_T2starmap.nii
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin2009cAsym_T2starmap.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_boldref.json
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_boldref.nii
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_boldref.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_desc-brain_mask.json
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_desc-brain_mask.nii
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_desc-brain_mask.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_desc-preproc_bold-6mm_smoothed.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_desc-preproc_bold.json
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_desc-preproc_bold.nii
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_desc-preproc_bold.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_T2starmap.json
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_T2starmap.nii
        ├── sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_T2starmap.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_boldref.json
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_boldref.nii
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_boldref.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.json
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.nii
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_desc-brain_mask.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_bold.json
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_bold.nii
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_desc-preproc_bold.nii.gz
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_T2starmap.json
        ├── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_T2starmap.nii
        └── sub-50001_ses-2_task-movieC_space-MNIPediatricAsym_cohort-2_res-2_T2starmap.nii.gz

18 directories, 372 files

Hmmm, what happens if you remove the participant label argument, does it find anything?

Huh interesting, when I remove the participant-label parameter it gave me this error…

xcp_d: error: The selected working directory is a subdirectory of the input BIDS folder. Please modify the output path.

Looking through my other specified parameter’s it looks like I never specified a working directory and the BIDS folder is my current working directory so that ended up becoming my working directory. Specifying the working directory and rerunning it, it looks like XCP-D is running! Weirdly though when I go back and reenter in the participant-label parameter, it brings me back to that same issue of not finding the subject, despite having fixed the working directory issue.

Coming into another weird issue now listed below but that might be worthy opening up another post on. This error I’m sure is related specifically to the specific LSF bsub environment we’re in. It’s really annoying but basically whenever we pull up an image in our environment, it wipes the environmental variables of the original docker image. I think I just need to get the xcp_d_build Dockerfile and manually set the environmental variables set in there.

Custom confounds were provided, but --nuisance-regressors was set to none. Overriding the 'none' value and setting to 'custom'.
240916-19:50:19,357 nipype.workflow IMPORTANT:
	 Running XCP-D version 0.9.1
240916-19:50:57,864 nipype.workflow IMPORTANT:
	 Building XCP-D's workflow:
           * Preprocessing derivatives path: /fmriprep.
           * Participant list: ['50001', '50032', '50071', '50081', '50091', '50092', '50111', '50121', '50131', '50171', '50181', '50191', '50211', '50221', '50231', '50241', '50251', '50291', '50301', '50321', '50322', '50331', '50341', '50342', '50351', '50371', '50381', '50391', '50401', '50421', '50422', '50431', '50441', '50451', '50461', '50481', '50491', '50501', '50502', '50511', '50512', '50521', '50591', '50592', '50601', '50602', '50611', '50621', '50631', '50701', '50711', '50731', '50751', '50771', '50801', '50802', '50831', '50832', '50851', '50861', '50871', '50911', '50921', '50941', '50942', '50961', '50962', '50971', '50981', '50991', '50992', '51001', '51011', '51021', '51041', '51051', '51081', '51101', '51121', '51131', '51132', '51141', '51161', '51171', '51201', '51211', '51221', '51231', '51261', '51271', '51281', '51301', '51331', '51341', '51361', '51382', '5143', '51441', '51461', '51481', '51491', '51501', '51511', '51571', '51601', '51631', '51651', '51652', '51661', '51662', '51701', '51702', '51741', '51751', '51771', '51781', '51841', '51851', '51881', '51891', '51921', '51931', '52002', '52011', '52031', '52071', '52121', '52141', '52151', '52161', '52181', '52191', '52192', '52281', '52291', '52292', '52301', '52321', '52351', '52371', '52431', '52511', '52512', '52521'].
           * Run identifier: 20240916-194500_29b640b7-138a-4c09-80b9-1dc0dbb2463d.
240916-19:51:03,231 nipype.utils IMPORTANT:
	 Collected data:
anat_brainmask: /fmriprep/sub-50001/anat/sub-50001_space-MNI152NLin6Asym_desc-brain_mask.nii.gz
anat_to_template_xfm: /fmriprep/sub-50001/anat/sub-50001_from-T1w_to-MNI152NLin6Asym_mode-image_xfm.h5
bold:
- /fmriprep/sub-50001/ses-0/func/sub-50001_ses-0_task-movieA_space-MNI152NLin6Asym_desc-preproc_bold.nii.gz
- /fmriprep/sub-50001/ses-1/func/sub-50001_ses-1_task-movieB_space-MNI152NLin6Asym_desc-preproc_bold.nii.gz
- /fmriprep/sub-50001/ses-2/func/sub-50001_ses-2_task-movieC_space-MNI152NLin6Asym_desc-preproc_bold.nii.gz
t1w: /fmriprep/sub-50001/anat/sub-50001_desc-preproc_T1w.nii.gz
t2w: null
template_to_anat_xfm: /fmriprep/sub-50001/anat/sub-50001_from-MNI152NLin6Asym_to-T1w_mode-image_xfm.h5

240916-19:51:03,761 nipype.utils INFO:
	 No standard-space surfaces found.
240916-19:51:04,656 nipype.utils IMPORTANT:
	 Collected mesh files:
lh_pial_surf: /fmriprep/sub-50001/anat/sub-50001_hemi-L_pial.surf.gii
lh_subject_sphere: /fmriprep/sub-50001/anat/sub-50001_hemi-L_desc-reg_sphere.surf.gii
lh_wm_surf: /fmriprep/sub-50001/anat/sub-50001_hemi-L_white.surf.gii
rh_pial_surf: /fmriprep/sub-50001/anat/sub-50001_hemi-R_pial.surf.gii
rh_subject_sphere: /fmriprep/sub-50001/anat/sub-50001_hemi-R_desc-reg_sphere.surf.gii
rh_wm_surf: /fmriprep/sub-50001/anat/sub-50001_hemi-R_white.surf.gii

240916-19:51:04,656 nipype.utils IMPORTANT:
	 Assuming segmentation was performed with FreeSurfer.
240916-19:51:05,430 nipype.utils IMPORTANT:
	 Collected morphometry files:
cortical_thickness: null
cortical_thickness_corr: null
myelin: null
myelin_smoothed: null
sulcal_curv: null
sulcal_depth: null

Process Process-2:
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/local/miniconda/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/cli/workflow.py", line 99, in build_workflow
    retval["workflow"] = init_xcpd_wf()
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/workflows/base.py", line 78, in init_xcpd_wf
    single_subject_wf = init_single_subject_wf(subject_id)
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/workflows/base.py", line 375, in init_single_subject_wf
    warp_brainmask_results = warp_brainmask.run(
  File "/usr/local/miniconda/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 397, in run
    runtime = self._run_interface(runtime)
  File "/usr/local/miniconda/lib/python3.10/site-packages/xcp_d/interfaces/ants.py", line 199, in _run_interface
    runtime = super(ApplyTransforms, self)._run_interface(runtime)
  File "/usr/local/miniconda/lib/python3.10/site-packages/niworkflows/interfaces/fixes.py", line 64, in _run_interface
    runtime = super()._run_interface(
  File "/usr/local/miniconda/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 752, in _run_interface
    raise IOError(
OSError: No command "antsApplyTransforms" found on host compute1-exec-415.ris.wustl.edu. Please check that the corresponding package is installed.

Yah, that seems like a bsub specific thing, so I’ll mark this thread as resolved.

1 Like

Sweet thanks for all of your help @Steven and @tsalo! Also just wanted to add figured out the issue with the --participant-label issue, ended up just needed to remove the ‘sub-’ before the subjects number in the parameter.

1 Like