-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hello,
I am encountering an issue while running DeepPrep for BOLD image preprocessing. I am working with a small BIDS dataset test, structured as follows:
Test_5_Deeprep/
├── dataset_description.json
├── sub-0001/
│ ├── anat/
│ │ └── sub-0001_ses-V01_T1w.nii.gz
│ ├── func/
│ │ └── sub-0001_ses-V01_task-rest_bold.nii.gz
├── sub-0002/
├── sub-0003/
├── sub-0004/
Then running the singularity command:
singularity run --cleanenv --nv \
-B /home/<user>/Projects/Test_5_Deeprep/:/input \
-B /home/<user>/Projects/Deeprep_Output/:/output \
-B ./license.txt:/fs_license.txt \
./deepprep_25.1.0.sif \
/input \
/output \
participant \
--bold_task_type rest \
--fs_license_file /fs_license.txt \
--device gpu \
--skip_bids_validation True
When the command approaches its final execution steps, I encounter the following error:
ERROR ~ Error executing process > 'bold_wf:qc_plot_norm_to_mni152 (sub-0004)'
Caused by:
Process `bold_wf:qc_plot_norm_to_mni152 (sub-0004)` terminated with an error exit status (1)
Command executed:
qc_bold_norm_to_mni152.py --subject_id sub-0004 --bold_preprocess_path /output/BOLD --qc_result_path /output/QC --norm_to_mni152 /output/BOLD/sub-0004/anat/sub-0004_space-MNI152NLin6Asym_res-02_desc-noskull_T1w.nii.gz --scene_file /opt/DeepPrep/deepprep/nextflow/bin/qc_tool/NormtoMNI152.scene --mni152_norm_png /opt/DeepPrep/deepprep/nextflow/bin/qc_tool/MNI152_norm.png --svg_outpath /output/QC/sub-0004/figures/sub-0004_desc-T1toMNI152_combine.svg
Command exit status:
1
Command output:
>>> /output/QC/sub-0004/figures/sub-0004_desc-T1toMNI152_combine.svg
Command error:
/opt/workbench/bin_linux64/../exe_linux64/wb_command: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /.singularity.d/libs/libGLdispatch.so.0)
/opt/workbench/bin_linux64/../exe_linux64/wb_command: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /.singularity.d/libs/libGLX.so.0)
Traceback (most recent call last):
>>> /output/QC/sub-0004/figures/sub-0004_desc-T1toMNI152_combine.svg
File "/opt/DeepPrep/deepprep/nextflow/bin/qc_bold_norm_to_mni152.py", line 91, in <module>
write_combine_svg(combine_svg_savepath, mni152_norm_png, NormtoMNI152_savepath, 2400, 1000)
File "/opt/DeepPrep/deepprep/nextflow/bin/qc_bold_norm_to_mni152.py", line 42, in write_combine_svg
pngdata_fore = encode_png(png_fore)
File "/opt/DeepPrep/deepprep/nextflow/bin/qc_bold_norm_to_mni152.py", line 52, in encode_png
img = Image(filename=png_img)
File "/opt/conda/envs/deepprep/lib/python3.10/site-packages/wand/image.py", line 9365, in __init__
self.read(filename=filename)
File "/opt/conda/envs/deepprep/lib/python3.10/site-packages/wand/image.py", line 10120, in read
self.raise_exception()
File "/opt/conda/envs/deepprep/lib/python3.10/site-packages/wand/resource.py", line 225, in raise_exception
raise e
wand.exceptions.BlobError: unable to open image `/output/QC/sub-0004/figures/norm2mni152/NormtoMNI152.png': No such file or directory @ error/blob.c/OpenBlob/2924
Work dir:
/output/WorkDir/nextflow/2b/241026bdde639e4b076f04fdde834a
Tip: you can replicate the issue by changing to the process work dir and entering the command `bash .command.run`
-- Check '.nextflow.log' file for details
I was wondering if this is due to a broken version/issue with my glibc or if it has to do with the python code itself contained in the docker image.
The error is raised from the file: qc_bold_norm_to_mni152.py
OS Version: Ubuntu 24.04
glibc Version: 2.39
If you need any additional information or clarification, feel free to comment below.
Thank you in advance for your time and assistance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels