qsiprep
qsiprep copied to clipboard
QSIPrep failed: Workflow did not execute cleanly
Hi everyone.
I wanted to preprocess my 32-way b=1000 dataset with QSIprep. The computer I use is macbook pro 2012 For this I wrote the following code:
sudo /Users/barisgenc/.local/bin/qsiprep-docker /Users/barisgenc/Documents/BIDStest /Users/barisgenc/Documents/BIDStest/derivatives --output-resolution 1.2 --fs-license-file ../license. txt -w /Users/barisgenc/Documents/BIDStrial/derivatives --use-syn-sdc --force-syn --nthreads 7 --low-mem --mem-mb 16000
I got the following error after T1 data was partially processed.
211218-22:39:09,130 nipype.workflow ERROR:
could not run node: qsiprep_wf.single_subject_01_wf.dwi_preproc_wf.hmc_sdc_wf.gather_inputs
211218-22:39:09,144 nipype.workflow ERROR:
could not run node: qsiprep_wf.single_subject_02_wf.dwi_preproc_wf.hmc_sdc_wf.gather_inputs
QSIPrep failed: Workflow did not execute cleanly. Check log for details
Traceback (most recent call last):
File "/usr/local/miniconda/bin/qsiprep", line 8, in
How can I solve this?
Hi, a few questions to help address the issue:
- What version QSIPrep are you using (if not the current version - 0.14.3 - update to current version)?
- Is your dataset BIDS valid (if not, make it BIDS valid)?
- Can you paste the output of the log file (should be in the subject's qsiprep derivatives folder)?
I would also recommend not putting the workdir as the same as the output directory.
Steven
1- QSI prep version is QSIPrep 0.14.3 2- my data set is valid. 3- Log folder contains only citation.html. I couldn't find log file.
The log would be in the subject’s output directory
Node: qsiprep_wf.single_subject_01_wf.dwi_preproc_wf.hmc_sdc_wf.gather_inputs Working directory: /tmp/work/qsiprep_wf/single_subject_01_wf/dwi_preproc_wf/hmc_sdc_wf/gather_inputs
Node inputs:
b0_threshold = 100
bval_file =
Traceback (most recent call last): File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node result["result"] = node.run(updatehash=updatehash) File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 516, in run result = self._run_interface(execute=True) File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_interface return self._run_command(execute) File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 741, in _run_command result = self._interface.run(cwd=outdir) File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py", line 428, in run runtime = self._run_interface(runtime) File "/usr/local/miniconda/lib/python3.7/site-packages/qsiprep/interfaces/eddy.py", line 83, in _run_interface topup_requested=self.inputs.topup_requested) File "/usr/local/miniconda/lib/python3.7/site-packages/qsiprep/interfaces/epi_fmap.py", line 202, in get_best_b0_topup_inputs_from spec_lookup[unique_bids_file] = spec_line % spec['TotalReadoutTime'] TypeError: must be real number, not NoneType
Your DWI json file must be missing the field TotalReadoutTime. If that data is not available you should not run SYN SDC. You can try to use the most recent dcm2niix to get the info if you have the dicoms available.
hello smeisler.
I solved the problem with the command export PATH=/Users/baris/Library/Python/3.8/bin:$PATH.
Thank you very much for your help
@barisgenc12 I don't think environment variables in your shell session will have any effect on the qsiprep run inside of docker. Where did you change the path?