Commit feaa3fa7 authored by Patrick Godwin's avatar Patrick Godwin

inspiral.py: add environment variables to process params without overwriting self.process

parent edb00063
Pipeline #150708 failed with stages
in 41 minutes and 47 seconds
......@@ -340,7 +340,7 @@ class CoincsDocument(object):
# major contributor to the size of merged databases and xml
# files. A patch to ligolw_process.register_to_xmldoc would be
# welcomed
self.process = ligolw_process.register_to_xmldoc(self.xmldoc, u"environment_variables", os.environ)
process_params.update(os.environ)
self.process = ligolw_process.register_to_xmldoc(self.xmldoc, u"gstlal_inspiral", process_params, comment = comment, ifos = instruments)
if process_start_time is not None:
self.process.start_time = process_start_time
......
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