Skip to content

Commit 9b92154

Browse files
Fix path to AO2D for AnalysisQC
1 parent f2e0c65 commit 9b92154

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

DATA/production/configurations/2021/OCT/apass4/async_pass.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,13 @@ if [[ -f "AO2D.root" ]]; then
170170
echo "exit code from AO2D check is " $exitcode
171171
exit $exitcode
172172
fi
173-
${O2DPG_ROOT}/MC/analysis_testing/o2dpg_analysis_test_workflow.py --merged-task -f ../../AO2D.root
173+
${O2DPG_ROOT}/MC/analysis_testing/o2dpg_analysis_test_workflow.py --merged-task -f AO2D.root
174174
${O2DPG_ROOT}/MC/bin/o2_dpg_workflow_runner.py -f workflow_analysis_test.json
175-
mv Analysis/MergedAnalyses/AnalysisResults.root .
175+
if [[ -f "Analysis/MergedAnalyses/AnalysisResults.root" ]]; then
176+
mv Analysis/MergedAnalyses/AnalysisResults.root .
177+
else
178+
echo "No Analysis/MergedAnalyses/AnalysisResults.root found! check analysis QC"
179+
fi
176180
fi
177181

178182
# copying the QC json file here

0 commit comments

Comments
 (0)