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

Use field given by Swift team

parent cfebabb5
No related branches found
No related tags found
1 merge request!32WIP: Add GRB FAR field
This commit is part of merge request !32. Comments created here will be created in the context of that merge request.
......@@ -653,8 +653,8 @@ def populateGrbEventFromVOEventFile(filename, event):
event.trigger_id = trigger_id
# Swift subthreshold GRBs have an extra FAR field
if 'FAR' in VOEvent_params:
event.far = float(VOEvent_params.get('FAR').get('value'))
if 'BAT_FAR' in VOEvent_params:
event.far = float(VOEvent_params.get('BAT_FAR').get('value'))
# Save event
event.save()
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