Hi Steven,
My bad about the -l command. I’ve updated but the error is still there. Is there any documentation on setting up a dedicated conda environment? I’ve not done this before.
This all seems weird to me, so I contacted our supercomputer IT to check that this issue wasn’t on our end. Long story short, it appears that the “there is an attribute error in the underlying python package”.
Here is the full response from our IT supercomputer people…
Hi Jen,
Thanks for providing the information. This is not quite what I expected, but I was able to run your container with some guessing. So, I did the following in a idev session under your account:
v320-001.ls6(933)$ ml tacc-singularity
v320-001.ls6(934)$ singularity exec /work/06953/jes6785/Containers/dcm2bids_latest.sif dcm2bids -d /scratch/06953/jes6785/NECTARY_DICOMS/ -o /scratch/06953/jes6785/Pre_Process_Test/sourcedata/ -c /scratch/06953/jes6785/NECTARY_DATA/code/config_2.json -p a017
ERROR: ld.so: object ‘/opt/apps/xalt/xalt/lib64/libxalt_init.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
INFO:dcm2bids.dcm2bids:— dcm2bids start —
INFO:dcm2bids.dcm2bids:OS:version: Linux-4.18.0-305.12.1.el8_4.x86_64-x86_64-with-glibc2.35
INFO:dcm2bids.dcm2bids:python:version: 3.10.4 (main, Apr 2 2022, 09:04:19) [GCC 11.2.0]
INFO:dcm2bids.dcm2bids:dcm2bids:version: 2.1.7
ERROR: ld.so: object ‘/opt/apps/xalt/xalt/lib64/libxalt_init.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
INFO:dcm2bids.dcm2bids:dcm2niix:version: v1.0.20201102
INFO:dcm2bids.dcm2bids:participant: sub-a017
INFO:dcm2bids.dcm2bids:session:
INFO:dcm2bids.dcm2bids:config: /scratch/06953/jes6785/NECTARY_DATA/code/config_2.json
INFO:dcm2bids.dcm2bids:BIDS directory: /scratch/06953/jes6785/Pre_Process_Test/sourcedata
Traceback (most recent call last):
File “/usr/local/bin/dcm2bids”, line 8, in
sys.exit(main())
File “/usr/local/lib/python3.10/dist-packages/dcm2bids/dcm2bids.py”, line 244, in main
return app.run()
File “/usr/local/lib/python3.10/dist-packages/dcm2bids/dcm2bids.py”, line 104, in run
self.config.get(“dcm2niixOptions”, DEFAULT.dcm2niixOptions),
AttributeError: ‘list’ object has no attribute ‘get’
v320-001.ls6(935)$ pwd
/scratch/06953/jes6785/NECTARY_DICOMS
As you can see, the run does error out due to an attribute error in the underlying python package. (note that the “ld.so” related error can be ignored, this is created by the xalt module and is irrelevant.) I do not see any error message about the argument though. Could you please verify and let me know if this is the issue? If so, I guess you will need to send this to the developer then.