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

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

parent 097561d3
No related branches found
No related tags found
No related merge requests found
......@@ -332,7 +332,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