Skip to content
Snippets Groups Projects
Commit 69481bc5 authored by Brandon Piotrzkowski's avatar Brandon Piotrzkowski
Browse files

Require a coincidence with EM_COINC to restart RAVEN pipeline; fixes #490

parent 7a6c3ef1
No related branches found
No related tags found
1 merge request!1004Require a coincidence with EM_COINC to restart RAVEN pipeline; fixes #490
......@@ -333,7 +333,8 @@ def handle_grb_igwn_alert(alert):
).delay()
elif alert['alert_type'] == 'label_removed' and \
alert['object'].get('group') == 'External':
if alert['data']['name'] == 'NOT_GRB':
if alert['data']['name'] == 'NOT_GRB' and \
'EM_COINC' in alert['object']['labels']:
# if NOT_GRB is removed, re-check publishing conditions
superevent_id = alert['object']['superevent']
superevent = gracedb.get_superevent(superevent_id)
......
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