Skip to content
Snippets Groups Projects
Commit b13ca8ff authored by Kipp Cannon's avatar Kipp Cannon
Browse files

gstlal_inspiral_lvalert_psd_plotter: change plot log message

- from "strain spectral densities" to "strain spectral density plot"
parent 9d2d56a6
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ def upload_fig(fig, gracedb_client, graceid, filename = "psd.png"):
plotfile = StringIO.StringIO()
fig.savefig(plotfile, format = os.path.splitext(filename)[-1][1:])
logging.info("uploading \"%s\" for %s" % (filename, graceid))
response = gracedb_client.writeLog(graceid, "strain spectral densities", filename = filename, filecontents = plotfile.getvalue(), tagname = "psd")
response = gracedb_client.writeLog(graceid, "strain spectral density plot", filename = filename, filecontents = plotfile.getvalue(), tagname = "psd")
if response.status != httplib.CREATED:
raise Exception("upload of \"%s\" for %s failed: %s" % (filename, graceid, response["error"]))
......
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