Skip to content
Snippets Groups Projects
Commit 5b572f55 authored by Cody Messick's avatar Cody Messick
Browse files

Add logic to deal with offline dist stats files to gstlal_inspiral_compress_ranking_stat

parent c8c13af9
No related branches found
No related tags found
No related merge requests found
Pipeline #91649 failed
......@@ -106,9 +106,10 @@ for filename in filenames:
elem = rankingstat.get_xml_root(xmldoc, name)
elem.parentNode.removeChild(elem)
elem.unlink()
elem = rankingstatpdf.get_xml_root(xmldoc, name)
elem.parentNode.removeChild(elem)
elem.unlink()
if rankingstatpdf is not None:
elem = rankingstatpdf.get_xml_root(xmldoc, name)
elem.parentNode.removeChild(elem)
elem.unlink()
#
# compress horizon distance history. the outer loop makes a list
......
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