Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on fmriprep output with anatomical fast-track #32

Open
bpinsard opened this issue Dec 19, 2023 · 6 comments · May be fixed by #35
Open

error on fmriprep output with anatomical fast-track #32

bpinsard opened this issue Dec 19, 2023 · 6 comments · May be fixed by #35

Comments

@bpinsard
Copy link
Member

Retrieved anatomical reference mask
Use standard template as functional scan reference.
Calculate the anatomical dice score.
  0%|                                                                                                                 | 0/5 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/lustre03/project/6003287/bpinsard/.virtualenvs/neuromod_data3.10/bin/giga_auto_qc", line 8, in <module>
    sys.exit(main())
  File "/lustre03/project/6003287/bpinsard/.virtualenvs/neuromod_data3.10/lib/python3.10/site-packages/giga_auto_qc/run.py", line 83, in main
    workflow(args)
  File "/lustre03/project/6003287/bpinsard/.virtualenvs/neuromod_data3.10/lib/python3.10/site-packages/giga_auto_qc/workflow.py", line 69, in workflow
    anatomical_metrics = assessments.calculate_anat_metrics(
  File "/lustre03/project/6003287/bpinsard/.virtualenvs/neuromod_data3.10/lib/python3.10/site-packages/giga_auto_qc/assessments.py", line 351, in calculate_anat_metrics
    anat_dice = _dice_coefficient(anat_image[0], reference_masks["anat"])
IndexError: list index out of range
@htwangtw
Copy link
Collaborator

htwangtw commented Jan 8, 2024

This is likely due to unsuccessful attempt of creating a BIDS dataset index.
Solution:

  • raise error when the BIDS layout object is empty
  • better error message to help debugging

Other issue: anatomical template

Currently for giga processing it is always using the MNI152NLin2009cAsym template outputs since the aim was to check if the dataset is okay for extracting fMRI time series. This should not be difficult if we just want to you subject specific templates.

Changes required:

  • get_reference_mask: instead of using templateflow, get the individual template
  • calculate_anat_metrics: the filter should not include the space entity

@clarkenj
Copy link
Collaborator

@htwangtw I am getting a similar error for prisme:

Retrieved anatomical reference mask
Create dataset level functional brain mask
We found 1 unique affine matrices. The most common one is [[   2.     0.     0.   -96.5]
 [   0.     2.     0.  -132.5]
 [   0.     0.     2.   -78.5]
 [   0.     0.     0.     1. ]]
Calculate the anatomical dice score.
^M  0%|          | 0/25 [00:00<?, ?it/s]^M  0%|          | 0/25 [00:27<?, ?it/s]
Traceback (most recent call last):
  File "/usr/local/bin/giga_auto_qc", line 8, in <module>
    sys.exit(main())
  File "/code/giga_auto_qc/run.py", line 83, in main
    workflow(args)
  File "/code/giga_auto_qc/workflow.py", line 69, in workflow
    anatomical_metrics = assessments.calculate_anat_metrics(
  File "/code/giga_auto_qc/assessments.py", line 351, in calculate_anat_metrics
    anat_dice = _dice_coefficient(anat_image[0], reference_masks["anat"])
IndexError: list index out of range

Is there a way around it?

@htwangtw
Copy link
Collaborator

htwangtw commented Apr 1, 2024

Can you give me the file names in the subject directory?

@clarkenj
Copy link
Collaborator

clarkenj commented Apr 1, 2024

Ah so this may be the problem, there is no anat directory... An example subject (with just one session):

├── sub-530814
   │   ├── ses-01
   │   │   ├── func
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_from-scanner_to-T1w_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_desc-confounds_timeseries.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_from-T1w_to-scanner_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-MNI152NLin2009cAsym_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_desc-confounds_timeseries.tsv
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_desc-confounds_timeseries.tsv
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_space-fsLR_den-91k_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-T1w_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-T1w_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-T1w_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-MNI152NLin2009cAsym_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-MNI152NLin2009cAsym_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_space-fsLR_den-91k_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_desc-confounds_timeseries.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_space-fsLR_den-91k_bold.dtseries.nii
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-MNI152NLin2009cAsym_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_from-scanner_to-boldref_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-T1w_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-T1w_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_space-fsLR_den-91k_bold.dtseries.nii
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-T1w_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-MNI152NLin2009cAsym_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-T1w_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_from-T1w_to-scanner_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-T1w_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_space-fsLR_den-91k_bold.dtseries.nii
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-MNI152NLin2009cAsym_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_space-fsLR_den-91k_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-T1w_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-MNI152NLin2009cAsym_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-T1w_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-T1w_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-T1w_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-MNI152NLin2009cAsym_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_desc-confounds_timeseries.tsv
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-T1w_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-T1w_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_space-fsLR_den-91k_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-T1w_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-MNI152NLin2009cAsym_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_space-fsLR_den-91k_bold.dtseries.nii
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-T1w_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-T1w_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-MNI152NLin2009cAsym_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_desc-confounds_timeseries.tsv
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-T1w_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_from-T1w_to-scanner_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-MNI152NLin2009cAsym_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_from-scanner_to-T1w_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_from-scanner_to-T1w_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-T1w_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-T1w_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_desc-confounds_timeseries.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-T1w_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-T1w_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_from-scanner_to-T1w_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-MNI152NLin2009cAsym_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_space-fsLR_den-91k_bold.dtseries.nii
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_from-T1w_to-scanner_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_space-fsLR_den-91k_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-MNI152NLin2009cAsym_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-T1w_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-MNI152NLin2009cAsym_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-T1w_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-MNI152NLin2009cAsym_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-T1w_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-T1w_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-T1w_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_desc-confounds_timeseries.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-T1w_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_space-fsLR_den-91k_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_space-fsLR_den-91k_bold.dtseries.nii
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-MNI152NLin2009cAsym_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_from-scanner_to-boldref_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-MNI152NLin2009cAsym_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-T1w_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_desc-confounds_timeseries.tsv
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_from-T1w_to-scanner_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_desc-confounds_timeseries.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_from-T1w_to-scanner_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_from-scanner_to-T1w_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-T1w_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_from-scanner_to-boldref_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-T1w_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-MNI152NLin2009cAsym_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-T1w_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-T1w_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_desc-confounds_timeseries.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-T1w_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-T1w_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-MNI152NLin2009cAsym_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-T1w_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-T1w_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_space-fsLR_den-91k_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_space-fsLR_den-91k_bold.dtseries.nii
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-T1w_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-MNI152NLin2009cAsym_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-T1w_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-T1w_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_from-scanner_to-boldref_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_desc-confounds_timeseries.tsv
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-T1w_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-T1w_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_from-scanner_to-T1w_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_from-T1w_to-scanner_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_desc-confounds_timeseries.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_from-scanner_to-boldref_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-MNI152NLin2009cAsym_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-T1w_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_from-scanner_to-T1w_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-06_part-mag_space-T1w_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_from-scanner_to-boldref_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_from-T1w_to-scanner_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-T1w_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_desc-confounds_timeseries.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_desc-confounds_timeseries.tsv
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_space-fsLR_den-91k_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-MNI152NLin2009cAsym_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-T1w_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-08_part-mag_space-T1w_desc-preproc_bold.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-MNI152NLin2009cAsym_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_from-scanner_to-boldref_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_from-scanner_to-T1w_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-T1w_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-T1w_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-T1w_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-MNI152NLin2009cAsym_desc-aparcaseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_desc-confounds_timeseries.tsv
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-03_part-mag_space-T1w_desc-preproc_bold.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-02_part-mag_space-T1w_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_part-mag_space-T1w_desc-brain_mask.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-MNI152NLin2009cAsym_desc-aseg_dseg.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-T1w_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-07_part-mag_space-T1w_desc-brain_mask.json
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-01_space-fsLR_den-91k_bold.dtseries.nii
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_from-scanner_to-boldref_mode-image_xfm.txt
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-04_part-mag_space-T1w_boldref.nii.gz
   │   │   │   ├── sub-530814_ses-01_task-prisme_dir-PA_run-05_part-mag_space-MNI152NLin2009cAsym_desc-preproc_bold.json
   │   │   ├── fmap
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun08_desc-preproc_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun07_desc-preproc_fieldmap.json
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun06_desc-preproc_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun06_desc-coeff_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun07_desc-magnitude_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun07_desc-coeff_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun03_desc-magnitude_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_run-01_fmapid-sub530814ses01taskprismedirPArun01_desc-preproc_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun07_desc-preproc_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun06_desc-preproc_fieldmap.json
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun05_desc-coeff_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun06_desc-magnitude_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun04_desc-preproc_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_run-01_fmapid-sub530814ses01taskprismedirPArun01_desc-coeff_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun02_desc-magnitude_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun04_desc-preproc_fieldmap.json
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun05_desc-preproc_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun05_desc-preproc_fieldmap.json
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun04_desc-coeff_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_run-01_fmapid-sub530814ses01taskprismedirPArun01_desc-preproc_fieldmap.json
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun08_desc-preproc_fieldmap.json
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun04_desc-magnitude_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun03_desc-preproc_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun02_desc-preproc_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun08_desc-coeff_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun08_desc-magnitude_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun03_desc-preproc_fieldmap.json
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun02_desc-coeff_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun03_desc-coeff_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun05_desc-magnitude_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_run-01_fmapid-sub530814ses01taskprismedirPArun01_desc-magnitude_fieldmap.nii.gz
   │   │   │   ├── sub-530814_ses-01_fmapid-sub530814ses01taskprismedirPArun02_desc-preproc_fieldmap.json

@htwangtw
Copy link
Collaborator

htwangtw commented Apr 1, 2024

this explains things! I will work on a fix while compute canada is down and make sure you can run this as soon as they are back online

@clarkenj
Copy link
Collaborator

clarkenj commented Apr 1, 2024

TYSM!

@htwangtw htwangtw linked a pull request Apr 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants