There will be maintenance performed on git.ligo.org, chat.ligo.org, containers.lig.org, and docs.ligo.org starting at 9am PDT on Tuesday 18th August 2020. There will be an extremely small period of downtime at the start of the maintenance window as various services are restarted. Please address any comments, questions, or concerns to computing-help@igwn.org.

Commit ef2e55d2 authored by Chad Hanna's avatar Chad Hanna

inspiral.py: make gstlal's pastro the production pastro

parent b4ccd2cb
Pipeline #72272 passed with stages
in 35 minutes and 46 seconds
......@@ -821,7 +821,11 @@ class GracedBWrapper(object):
print >>sys.stderr, "event assigned grace ID %s" % resp_json["graceid"]
gracedb_ids.append(resp_json["graceid"])
p_astro = get_p_astro_func(coinc_event.likelihood, last_coincs.sngl_inspirals(coinc_event.coinc_event_id)[0].mass1, last_coincs.sngl_inspirals(coinc_event.coinc_event_id)[0].mass2, coinc_inspiral_index[coinc_event.coinc_event_id].snr, coinc_inspiral_index[coinc_event.coinc_event_id].combined_far)
self.__upload_aux_data("GstLAL internally computed p-astro", "gstlal_p_astro.json", "p_astro", p_astro, [gracedb_ids[-1]])
self.__upload_aux_data("GstLAL internally computed p-astro", "p_astro.json", "p_astro", p_astro, [gracedb_ids[-1]])
try:
resp = self.gracedb_client.writeLabel(gracedb_ids[-1], 'PASTRO_READY')
except gracedb.rest.HTTPError as resp:
print >> sys.stderr, resp
break
print >>sys.stderr, "gracedb upload of %s failed on attempt %d/%d: %d: %s" % (filename, attempt, self.retries, resp.status, httplib.responses.get(resp.status, "Unknown"))
print >>sys.stderr, resp_json
......
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