Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gwcelery
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
emfollow
gwcelery
Commits
37e20e44
Commit
37e20e44
authored
2 years ago
by
Brandon Piotrzkowski
Browse files
Options
Downloads
Patches
Plain Diff
Fix external sky map creation and upload; fixes
#487
parent
94452a2b
No related branches found
No related tags found
1 merge request
!1005
Fix external sky map creation and upload; fixes #487
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES.rst
+2
-0
2 additions, 0 deletions
CHANGES.rst
gwcelery/tasks/external_skymaps.py
+0
-7
0 additions, 7 deletions
gwcelery/tasks/external_skymaps.py
gwcelery/tasks/external_triggers.py
+3
-0
3 additions, 0 deletions
gwcelery/tasks/external_triggers.py
with
5 additions
and
7 deletions
CHANGES.rst
+
2
−
0
View file @
37e20e44
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
gwcelery/tasks/external_skymaps.py
+
0
−
7
View file @
37e20e44
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
gwcelery/tasks/external_triggers.py
+
3
−
0
View file @
37e20e44
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Brandon Piotrzkowski
@brandon.piotrzkowski
mentioned in issue
#624 (closed)
·
1 year ago
mentioned in issue
#624 (closed)
mentioned in issue #624
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment