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
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
IGWN Computing and Software
GraceDB
GraceDB Server
Merge requests
!32
WIP: Add GRB FAR field
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
WIP: Add GRB FAR field
brandon.piotrzkowski/gracedb:fargrb
into
python3
Overview
5
Commits
2
Pipelines
2
Changes
1
1 unresolved thread
Hide all comments
Closed
Brandon Piotrzkowski
requested to merge
brandon.piotrzkowski/gracedb:fargrb
into
python3
5 years ago
Overview
5
Commits
2
Pipelines
2
Changes
1
1 unresolved thread
Hide all comments
Expand
0
0
Merge request reports
Compare
python3
version 1
cfebabb5
5 years ago
python3 (base)
and
latest version
latest version
4c5dfb72
2 commits,
5 years ago
version 1
cfebabb5
1 commit,
5 years ago
1 file
+
4
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
gracedb/events/translator.py
+
4
−
0
Options
@@ -652,5 +652,9 @@ def populateGrbEventFromVOEventFile(filename, event):
break
event
.
trigger_id
=
trigger_id
# Swift subthreshold GRBs have an extra FAR field
if
'
BAT_FAR
'
in
VOEvent_params
:
event
.
far
=
float
(
VOEvent_params
.
get
(
'
BAT_FAR
'
).
get
(
'
value
'
))
# Save event
event
.
save
()
Loading