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

Removed redundant HWINJ translator block

parent 43787896
No related branches found
No related tags found
No related merge requests found
......@@ -287,18 +287,6 @@ def handle_uploaded_data(event, datafilename,
comment="Log File Created" )
log.save()
elif event.analysisType == 'HWINJ':
try:
f = open(datafilename, "r")
for line in f.readlines():
if line.startswith("gpstime:"):
times = line.split()
event.gpstime = int(float(times[1]))
event.save()
break
f.close()
except:
pass
elif event.analysisType == 'GRB':
# Get the event time from the VOEvent file
try:
......
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