Australian-Imaging-Service / pipelines

Scripts to generate analysis pipelines that can be run in XNAT's container service
Other
1 stars 3 forks source link

[STORY] Deploy diffusion MRI preprocessing BIDS app (qsiprep) in XNAT container service #61

Closed tclose closed 1 year ago

tclose commented 2 years ago

Description

As a researcher, I want to be able to run a diffusion preprocessing BIDS app (e.g. dmriprep or qsiprep) using the XNAT container service, so that I can conveniently run it over all the sessions in my project. I would like to input all relevant scan types

Acceptance Criteria

Mahdieh-dst commented 1 year ago

---Debugging---

Current Issue: ValueError: File not found: '/.../single_subject_DEFAULT_wf/dwi_preproc_wf/pre_hmc_wf/merge_minus/dwi_denoise_dir_LR_dwi_wf/denoiser/sub-DEFAULT_dir-LR_dwi_denoised.nii.gz'

Note: The sub-DEFAULT_dir-LR_dwi_denoised.nii.gz file does exist in /work/bids-dataset/sub-DEFAULT/dwi though.

Current Actions: (1) I ran the command in the command.txt file and got this error: dwidenoise: [ERROR] cannot access file "/work/bids-dataset/sub-DEFAULT/dwi/sub-DEFAULT_dir-LR_dwi.nii.gz": No such file or directory dwidenoise: [ERROR] error opening image "/work/bids-dataset/sub-DEFAULT/dwi/sub-DEFAULT_dir-LR_dwi.nii.gz"

**However, The sub-DEFAULT_dir-LR_dwi_denoised.nii.gz file does exist in /work/bids-dataset/sub-DEFAULT/dwi.

(2) To troubleshoot item (1), we installed MRTrix on the local machine and could open that file in mrview with no problem. So, no problem with that file! I am not sure, why the file cannot be found when running qsiprep???