Dear QuNex Experts:
I was trying to use the singularity provided in gitlab to run hcp_diffusion with the following parameters:
PATH=${HOME}/qunex:${PATH}
export STUDY_NAME="quickstart006"
export WORK_DIR="${HOME}/qunex"
export QUNEX_CONTAINER="${WORK_DIR}/qunexcontainer/qunex_suite-0.93.6.sif"
export RAW_DATA="${WORK_DIR}/data"
export INPUT_BATCH_FILE="${RAW_DATA}/006_batch.txt"
export INPUT_MAPPING_FILE="${RAW_DATA}/006_mapping.txt"
export SESSIONS="006"
export RUNTURNKEY_TYPE="local"
export RUNTURNKEY_STEPS="hcp_diffusion"
qunex_container hcp_diffusion --rawdatainput="${RAW_DATA}" --batchfile="${INPUT_BATCH_FILE}" --mappingfile="${INPUT_MAPPING_FILE}" --workingdir="${WORK_DIR}" --projectname="${STUDY_NAME}" --path="${WORK_DIR}/${STUDY_NAME}" --sessions="${SESSIONS}" --sessionids="${SESSIONS}" --sessionsfoldername="sessions" --nv --container="${QUNEX_CONTAINER}"
However, the qunex_container failed to run and returned the following errors:
........................ Running QuNex v0.93.6 ........................
--- Full QuNex call for command: hcp_diffusion
gmri hcp_diffusion --rawdatainput="/home/ehui/qunex/data" --batchfile="/home/ehui/qunex/data/006_batch.txt" --mappingfile="/home/ehui/qunex/data/006_mapping.txt" --workingdir="/home/ehui/qunex" --projectname="quickstart006" --path="/home/ehui/qunex/quickstart006" --sessionsfoldername="sessions" --sessions="006" --sessionids="006"
---------------------------------------------------------
WARNING: Parameter qx_cifti_tail was not specified. Its value was imputed from parameter hcp_cifti_tail and set to ''!
WARNING: Parameter qx_nifti_tail was not specified. Its value was imputed from parameter hcp_nifti_tail and set to ''!
WARNING: Parameter cifti_tail was not specified. Its value was imputed from parameter qx_cifti_tail and set to ''!
WARNING: Parameter nifti_tail was not specified. Its value was imputed from parameter qx_nifti_tail and set to ''!
# Generated by QuNex 0.93.6 on 2022-07-19_09.14.13.144751
#
=================================================================
gmri hcp_diffusion \
--rawdatainput="/home/ehui/qunex/data" \
--batchfile="/home/ehui/qunex/data/006_batch.txt" \
--mappingfile="/home/ehui/qunex/data/006_mapping.txt" \
--workingdir="/home/ehui/qunex" \
--projectname="quickstart006" \
--path="/home/ehui/qunex/quickstart006" \
--sessionsfoldername="sessions" \
--sessions="006" \
--sessionids="006" \
=================================================================
Starting multiprocessing sessions in 006 with a pool of 1 concurrent processes
---- Running local
Starting processing of sessions 006 at Tuesday, 19. July 2022 09:14:13
------------------------------------------------------------
Session id: 006
[started on Tuesday, 19. July 2022 09:14:13]
Running HCP DiffusionPreprocessing Pipeline [HCPStyleData] ...
ERROR: Unknown error occured:
...................................
Traceback (most recent call last):
File "/opt/qunex/python/qx_utilities/hcp/process_hcp.py", line 2161, in hcp_diffusion
hcp = getHCPPaths(sinfo, options)
File "/opt/qunex/python/qx_utilities/hcp/process_hcp.py", line 114, in getHCPPaths
hcpbase = os.path.join(sinfo['hcp'], sinfo['id'] + options['hcp_suffix'])
KeyError: 'hcp'
...................................
HCP Diffusion Preprocessing completed on Tuesday, 19. July 2022 09:14:13
------------------------------------------------------------
===> Final report for command hcp_diffusion
... 006 ---> Error
===> Not all tasks completed fully!
Your help would be much appreciated! Thank you very much.
Best,
Ed