diff --git a/MC/bin/o2dpg_sim_workflow.py b/MC/bin/o2dpg_sim_workflow.py index b1a4ca157..bff7e91a7 100755 --- a/MC/bin/o2dpg_sim_workflow.py +++ b/MC/bin/o2dpg_sim_workflow.py @@ -627,6 +627,11 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True, runcommand=True): # fetch the global alignment geometry ${{O2_ROOT}}/bin/o2-create-aligned-geometry-workflow ${{ALIEN_JDL_CCDB_CONDITION_NOT_AFTER:+--condition-not-after $ALIEN_JDL_CCDB_CONDITION_NOT_AFTER}} \ --configKeyValues "HBFUtils.startTime={args.timestamp}" -b --run ${{REMAP_OPT}} +GEOM_RC="$?" +if [ ! "${{GEOM_RC}}" == "0" ]; then + echo "Problem during creation of the aligned geometry. Exiting." + exit ${{GEOM_RC}} +fi # copy the object into the CCDB cache mkdir -p $ALICEO2_CCDB_LOCALCACHE/GLO/Config/GeometryAligned