@@ -148,22 +148,22 @@ if [ "${MCRC}" = "0" ]; then
148148 # publish the AODs to ALIEN
149149 [ ${ALIBI_EXECUTOR_FRAMEWORK} ] && copy_ALIEN " *AO2D*"
150150
151- # # do QC tasks
152- # if [[ "${remainingargs}" == *"--include-local-qc"* ]]; then
153- # echo "Doing QC"
154- # ${O2DPG_ROOT}/MC/bin/o2_dpg_workflow_runner.py -f workflow.json --target-labels QC --cpu-limit ${ALIEN_JDL_CPULIMIT:-8}
155- # RC=$?
156- # fi
157-
158- # # could take this away finally
159- # if [ ${ALIBI_EXECUTOR_FRAMEWORK} ]; then
160- # err_logs=$(get_error_logs $(pwd) --include-grep "QC")
161- # [ ! "${RC}" -eq 0 ] && send_mattermost "--text QC stage **failed** :x: --files ${err_logs}" || send_mattermost "--text QC **passed** :white_check_mark:"
162- # unset ALICEO2_CCDB_LOCALCACHE
163- # # perform some analysis testing
164- # DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
165- # . ${DIR}/analysis_testing.sh
166- # fi
151+ # do QC tasks
152+ if [[ " ${remainingargs} " == * " --include-local-qc" * ]]; then
153+ echo " Doing QC"
154+ ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json --target-labels QC --cpu-limit ${ALIEN_JDL_CPULIMIT:- 8}
155+ RC=$?
156+ fi
157+
158+ # could take this away finally
159+ if [ ${ALIBI_EXECUTOR_FRAMEWORK} ]; then
160+ err_logs=$( get_error_logs $( pwd) --include-grep " QC" )
161+ [ ! " ${RC} " -eq 0 ] && send_mattermost " --text QC stage **failed** :x: --files ${err_logs} " || send_mattermost " --text QC **passed** :white_check_mark:"
162+ unset ALICEO2_CCDB_LOCALCACHE
163+ # perform some analysis testing
164+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
165+ . ${DIR} /analysis_testing.sh
166+ fi
167167
168168 # do analysis tasks
169169 if [[ " ${remainingargs} " == * " --include-analysis" * ]]; then
0 commit comments