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

Tiny but which logged "Original Data" twice for most analysis types.

parent 25dc2b45
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ def handle_uploaded_data(event, datafilename,
event.save()
if event.analysisType == 'MBTA':
elif event.analysisType == 'MBTA':
#here's how it works for inspirals
#populate the tables
#xmldoc, log_data, temp_data_loc = populate_inspiral_tables("MbtaFake-930909680-16.gwf")
......@@ -214,7 +214,7 @@ def handle_uploaded_data(event, datafilename,
event.coincEvent_id = insert_ligolw_tables(xml_filename)
event.save()
if event.analysisType == 'CWB':
elif event.analysisType == 'CWB':
try:
f = open(datafilename, "r")
for line in f.readlines():
......
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