Dear all,
I have a little problem using aslprep.
Summary of what happened:
In fact, when I did not perform partial volume correction by --basil, all the aslprep ran smoothly. But after I add --basil, the following error will be reported, causing the program to be unable to continue running. I’m wondering if this is because I don’t have a separate M0 image?
Command used (and if a helper script was used, a link to the helper script or the command generated):
aslprep script, without --basil work well, with --basil break
#set env
export SINGULARITYENV_TEMPLATEFLOW_HOME=/ibmgpfs/****_lab/****/package/templateflow
export SINGULARITYENV_WORK_HOME=/ibmgpfs/****_lab/****/.singularity/work
unset PYTHONPATH;
singularity run --cleanenv \
-B $aslprep_wd:/wd \
-B $BidsDir:/BIDS \
-B $aslprep_output:/output \
-B $templateflow:$templateflow \
-B $fs_license:/fs_license \
/ibmgpfs/****_lab/****/.singularity/aslprep-0.5.0.simg \
/BIDS /output participant \
--participant_label ${subj} \
-w /wd \
--fs-license-file /fs_license/license.txt \
--output-spaces T1w MNI152NLin6Asym \
--notrack --verbose \
--skip-bids-validation \
--stop-on-first-crash \
--basil
Here is my asl json file:
"TaskName":"DE",
"ArterialSpinLabelingType":"PCASL",
"PostLabelingDelay":1.5,
"BackgroundSuppression":"false",
"M0Type":"Absent",
"TotalAcquiredPairs":135,
"LabelingDuration":1.5,
"RepetitionTimePreparation":4.4
Version:
aslprep-0.5.0.simg
Environment (Docker, Singularity / Apptainer, custom installation):
Singularity
Data formatted according to a validatable standard? Please provide the output of the validator:
PASTE VALIDATOR OUTPUT HERE
Relevant log outputs (up to 20 lines):
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 344, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 497, in run
self._get_hashval()
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 548, in _get_hashval
self._get_inputs()
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 619, in _get_inputs
self.set_input(key, deepcopy(output_value))
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 312, in set_input
setattr(self.inputs, parameter, deepcopy(val))
File "/usr/local/miniconda/lib/python3.8/site-packages/traits/base_trait_handler.py", line 74, in error
raise TraitError(
traits.trait_errors.TraitError: The 'm0tr' trait of a _BASILCBFInputSpec instance must be a float, but a value of None <class 'NoneType'> was specified.
Error setting node input:
Node: basilcbf
input: m0tr
results_file: /wd/aslprep_wf/single_subject_53_wf/asl_preproc_acq_DE1_wf/compute_cbf_wf/extract_deltam/result_extract_deltam.pklz
value: None
When creating this crashfile, the results file corresponding
to the node could not be found.
240314-21:56:24,694 nipype.workflow CRITICAL:
ASLPrep failed: Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 344, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 497, in run
self._get_hashval()
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 548, in _get_hashval
self._get_inputs()
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 619, in _get_inputs
self.set_input(key, deepcopy(output_value))
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 312, in set_input
setattr(self.inputs, parameter, deepcopy(val))
File "/usr/local/miniconda/lib/python3.8/site-packages/traits/base_trait_handler.py", line 74, in error
raise TraitError(
traits.trait_errors.TraitError: The 'm0tr' trait of a _BASILCBFInputSpec instance must be a float, but a value of None <class 'NoneType'> was specified.
Error setting node input:
Node: basilcbf
input: m0tr
results_file: /wd/aslprep_wf/single_subject_53_wf/asl_preproc_acq_DE1_wf/compute_cbf_wf/extract_deltam/result_extract_deltam.pklz
value: None
Screenshots / relevant information:
Thanks to all