We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b69650d commit a40b8c0Copy full SHA for a40b8c0
1 file changed
MC/analysis_testing/analysis_test.sh
@@ -18,7 +18,7 @@ NTF=$(find ./ -name "tf*" -type d | wc | awk '//{print $1}')
18
19
# commonDPL="-b --run --fairmq-ipc-prefix ${FAIRMQ_IPC_PREFIX:-./.tmp} --driver-client-backend ws:// --rate 1000"
20
commonDPL="-b --run --driver-client-backend ws:// --rate 1000"
21
-annaCMD="${testanalysis} ${commonDPL} --aod-file AO2D.root; mv AnalysisResults.root AnalysisResults_${testanalysis}.root; mv QAResults.root QAResults_${testanalysis}.root"
+annaCMD="${testanalysis} ${commonDPL} --aod-file AO2D.root; RC=\$?; [ -f AnalysisResults.root ] && mv AnalysisResults.root AnalysisResults_${testanalysis}.root; [ -f QAResult.root ] && mv QAResults.root QAResults_${testanalysis}.root; [ \${RC} -eq 0 ]"
22
23
rm workflow_ana.json
24
# this is to analyse the global (merged) AOD
0 commit comments