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

MBTA events get single inspiral table data

parent 14d50d98
No related branches found
No related tags found
No related merge requests found
......@@ -252,6 +252,15 @@ def handle_uploaded_data(event, datafilename,
event.save()
# Extract Single Inspiral Information
s_inspiral_tables = glue.ligolw.table.getTablesByName(
xmldoc,
glue.ligolw.lsctables.SnglInspiralTable.tableName)
# Concatentate the tables' rows into a single table
table = sum(s_inspiral_tables, [])
SingleInspiral.create_events_from_ligolw_table(table, event)
elif event.analysisType == 'OM': # Omega
#here's how it works for bursts
#xmldoc, log_data, temp_data_loc = populate_burst_tables("initial.data")
......
{% extends "gracedb/event_detail.html" %}
{# Analysis-specific attributes for a LowMass event#}
{% block analysis_specific %}
<p/>
<h3>Event Log File</h3>
{{eventdesc}}
{% endblock %}
{% extends "gracedb/event_detail_LM.html" %}
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