Skip to content
Snippets Groups Projects
Commit 6c97f4a2 authored by Brian Moe's avatar Brian Moe
Browse files

MBTA events with NULL far get far of zero in db.

parent bfba4c66
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,8 @@ def handle_uploaded_data(event, datafilename,
glue.ligolw.lsctables.CoincInspiralTable.tableName)
coinc_table = coinc_table[0]
event.gpstime = coinc_table[0].end_time
event.far = coinc_table[0].combined_far
# Per Patrick 02FEB12. All MBTA events with null far should have zero far.
event.far = coinc_table[0].combined_far or 0
coinc_table = glue.ligolw.table.getTablesByName(
xmldoc,
......
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