diff --git a/gwcelery/tasks/external_triggers.py b/gwcelery/tasks/external_triggers.py index 71146c03fe8e36862d991f20ff62f7fe19343d6d..236182e851ac0e1ecb2cebc8dffc81b7f463a675 100644 --- a/gwcelery/tasks/external_triggers.py +++ b/gwcelery/tasks/external_triggers.py @@ -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)