Dear Jure/Lining:
Forgive me for asking this trivial question.
I was trying to run qunex_container
over multiple sessions using the following command:
export SDIR="/hdd1"
PATH=${SDIR}/qunex:${PATH}
export STUDY_NAME="cimt"
export WORK_DIR="${SDIR}/qunex"
export QUNEX_CONTAINER="${SDIR}/qunex/qunexcontainer/qunex_suite-0.96.2a.sif"
export QUNEX_CONTAINER="${SDIR}/qunex/qunexcontainer/qunex_suite-0.99.2d.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="001A,019A" #,010A,009C,010C"
export RUNTURNKEY_TYPE="local"
export RUNTURNKEY_STEPS="create_study,map_raw_data,import_dicom,create_session_info,setup_hcp,create_batch,hcp_pre_freesurfer,hcp_freesurfer,hcp_post_freesurfer,hcp_fmri_volume,hcp_fmri_surface,hcp_diffusion,map_hcp_data,create_bold_brain_masks,compute_bold_stats,create_stats_report,extract_nuisance_signal,preprocess_bold"
export RUNTURNKEY_STEPS="create_study,map_raw_data,import_dicom,create_session_info,setup_hcp,create_batch"
rm "${WORK_DIR}/${STUDY_NAME}/sessions/specs/$(basename ${INPUT_MAPPING_FILE})"
qunex_container run_turnkey \
--rawdatainput="${RAW_DATA}" \
--paramfile="${INPUT_BATCH_FILE}" \
--mappingfile="${INPUT_MAPPING_FILE}" \
--workingdir="${WORK_DIR}" \
--projectname="${STUDY_NAME}" \
--path="${WORK_DIR}/${STUDY_NAME}" \
--sessions="${SESSIONS}" \
--sessionids="${SESSIONS}" \
--sessionsfoldername="sessions" \
--bind="/hdd1:/hdd1" \
--turnkeytype="${RUNTURNKEY_TYPE}" \
--nv \
--container="${QUNEX_CONTAINER}" \
--turnkeysteps="${RUNTURNKEY_STEPS}" \
--overwrite="yes"
But for some reason, the script could not continue and was stuck, and instead of separate folder for each session, there was a single folder with the name 001A,019A
.
Can you be so kind as to tell me the right way to run the script over multiple sessions please?
Many thanks as always,
Ed