Commit 2b519a83 authored by Tri V Nguyen's avatar Tri V Nguyen
Browse files

Fix search bug where the time window was getting mixed up in the log entries

parent 1d352b0f
......@@ -19,6 +19,7 @@
- Change if/elif structure when sending gracedb logs to prevent double uploads
of the coincidence far.
- Fix search bug where the time window was getting mixed up in the log entries.
## 1.14 (2019-06-06)
- Add choice of GRB search to calculate coinc FAR. Update GCN rates.
......
......@@ -178,7 +178,7 @@ def search(event, tl, th, gracedb=None, group=None, pipelines=None):
message2 = "RAVEN: {0} event <a href='{1}{2}".format(
types[event.graceid[0]], gracedb_url, link2)
message2 += "%s'>%s</a> within window [%+d, %+d] seconds" % (
event.graceid, event.graceid, tl, th)
event.graceid, event.graceid, -th, -tl)
message2 += ", about {0} second(s) {1} {2}".format(int(abs(deltat)),
relat_word[1],
types[event.neighbor_type])
......
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