Skip to content
Snippets Groups Projects
Commit a22b03b1 authored by Soichiro Morisaki's avatar Soichiro Morisaki Committed by VINAYA VALSAN
Browse files

gwcelery/tasks/inference.py: reduce the number of uploaded log files for rapidpe failure

parent 99dae374
No related branches found
No related tags found
1 merge request!1150gwcelery/tasks/inference.py: reduce the number of uploaded log files for rapidpe failure
......@@ -25,7 +25,8 @@ Changelog
- Update rapidpe-rift-pipe to 0.0.12. Using mchirp and q as the coordinates for
the rectilinear intrinsic grid. Updated accounting_group to
ligo.dev.o4.cbc.pe.lalinferencerapid and added accouting_group_user. Added an
option to map the events to an injection.
option to map the events to an injection. Uploading only a selected set of log files
to gracedb.
- Prevent alternative collating method for O3 replay and MDC events with INTEGRAL.
......
......@@ -545,8 +545,14 @@ def job_error_notification(request, exc, traceback,
message=f'The {analysis} condor job failed.'
)
# upload all the .log, .err, and .out files
for filename in ['*.log', '*.err', '*.out']:
if analysis == "rapidpe":
to_upload = [
'event_all_iterations.dag.lib.err',
'marginalize_extrinsic_parameters_iteration_*.dag.lib.err'
]
else:
to_upload = ['*.log', '*.err', '*.out']
for filename in to_upload:
tasks = []
for path in _find_paths_from_name(rundir, filename):
with open(path, 'rb') as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment