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

Fix external sky map creation and upload; fixes #487

parent 94452a2b
No related branches found
No related tags found
1 merge request!1005Fix external sky map creation and upload; fixes #487
......@@ -6,6 +6,8 @@ Changelog
- Update messages from RAVEN alert pipeline to be more informative.
- Fix bug where updated GRB events couldn't create sky maps.
- Fix datetime format in Avro and JSON notices so that they conform to
ISO 8601. They were missing the ``T`` separating the date from the time
and the final ``Z`` denoting the UTC time zone.
......
......@@ -161,13 +161,6 @@ def get_upload_external_skymap(event, skymap_link=None):
graceid = event['graceid']
search = event['search']
try:
filename = get_skymap_filename(graceid)
if 'glg_healpix_all_bn_v00.fit' in filename:
return
except ValueError:
pass
if search == 'GRB':
external_skymap_canvas = (
external_trigger_heasarc.si(graceid)
......
......@@ -4,6 +4,7 @@ from celery import group
from celery.utils.log import get_logger
from ..import app
from .core import identity
from . import detchar
from . import gcn
from . import gracedb
......@@ -171,7 +172,9 @@ def handle_grb_gcn(payload):
# Prevent SubGRBs from appending GRBs
if search == 'GRB':
# Replace event and pass already existing event dictionary
canvas |= gracedb.replace_event.si(graceid, payload)
canvas |= identity.si(event)
else:
return
......
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