Commit 4c5dfb72 authored by Brandon Piotrzkowski's avatar Brandon Piotrzkowski
Browse files

Use field given by Swift team

parent cfebabb5
Pipeline #88811 passed with stages
in 22 minutes and 36 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment