You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msg(f"++ something went wrong for run {run_number}, no output table found. Please check: 'AODRun5.{run_number}.log'",
21
+
aod_name=f"AODRun5.{run_number}.root"
22
+
ifnotos.path.isfile(aod_name):
23
+
msg(f"++ something went wrong for run {run_number}, no output AOD file {aod_name} found.",
24
+
f"Please check: 'AODRun5.{run_number}.log'",
23
25
color=bcolors.FAIL)
24
26
verbose_msg("< complete run", run_number)
25
27
processing_time=time.time() -processing_time
@@ -345,9 +347,9 @@ def copy_and_link(file_name):
345
347
check_status=True)
346
348
# Check that there were no O2 errors
347
349
write_to_runner(
348
-
f"if grep -q \"\[ERROR\]\"{aod_log_file}; then echo \": got some errors in '{aod_log_file}'\" && exit 1; fi")
350
+
f"if grep -q \"\[ERROR\]\"{aod_log_file}; then echo \": got some errors in '{aod_log_file}'\" && echo \"Found some ERROR in this log\" >> {aod_log_file}; fi")
349
351
write_to_runner(
350
-
f"if grep -q \"\[FATAL\]\"{aod_log_file}; then echo \": got some fatals in '{aod_log_file}'\" && exit 1; fi")
352
+
f"if grep -q \"\[FATAL\]\"{aod_log_file}; then echo \": got some fatals in '{aod_log_file}'\" && echo \"Found some FATAL in this log\" >> {aod_log_file} && exit 1; fi")
0 commit comments