Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GraceDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Michael Coughlin
GraceDB Server
Commits
4ade0643
Commit
4ade0643
authored
11 years ago
by
Branson Stephens
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into cli_dev
parents
fab9a98b
a7efd2f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gracedb/buildVOEvent.py
+3
-3
3 additions, 3 deletions
gracedb/buildVOEvent.py
with
3 additions
and
3 deletions
gracedb/buildVOEvent.py
+
3
−
3
View file @
4ade0643
...
...
@@ -21,7 +21,7 @@ def buildVOEvent(gevent, request=None, description=None, role=None):
objid
=
gevent
.
graceid
()
############ VOEvent header ############################
v
=
VOEvent
.
VOEvent
(
version
=
"
2.0
"
)
v
=
VOEvent
(
version
=
"
2.0
"
)
v
.
set_ivorn
(
settings
.
SKYALERT_IVORN_PATTERN
%
objid
)
v
.
set_role
(
role
or
settings
.
SKYALERT_ROLE
)
v
.
set_Description
(
description
or
settings
.
SKYALERT_DESCRIPTION
)
...
...
@@ -92,8 +92,8 @@ def buildVOEvent(gevent, request=None, description=None, role=None):
# Four of them, per Roy Williams. (FITS and PNG) x (x509 auth and Shib auth)
# relative URLs
x509_fits_skymap_url
=
reverse
(
"
download
"
,
args
=
[
gevent
.
graceid
(),
"
general/bayestar/skymap.fits
"
])
x509_png_skymap_url
=
reverse
(
"
download
"
,
args
=
[
gevent
.
graceid
(),
"
general/bayestar/skymap.png
"
])
x509_fits_skymap_url
=
reverse
(
"
file
"
,
args
=
[
gevent
.
graceid
(),
"
general/bayestar/skymap.fits
"
])
x509_png_skymap_url
=
reverse
(
"
file
"
,
args
=
[
gevent
.
graceid
(),
"
general/bayestar/skymap.png
"
])
# XXX gracedb.ligo.org urls. they are a little problematic.
# they do not do mime-types correctly and they do not let go of the connection for some reason.
...
...
This diff is collapsed.
Click to expand it.
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