Skip to content
Snippets Groups Projects
Commit 4da87c35 authored by Daichi Tsuna's avatar Daichi Tsuna
Browse files

gstlal_cs_triggergen: record search_summary.nevents

dump number of events in the coinc_events table.
parent 5dc20a30
No related branches found
No related tags found
No related merge requests found
......@@ -495,12 +495,13 @@ if options.verbose:
print >>sys.stderr, "running pipeline ..."
mainloop.run()
handler.flush()
#
# write output to disk
# FIXME vetoes table also needs to be dumped here
# with ligolw_add
# obtain nevents from the coinc event table, and write output to disk
# FIXME vetoes table also needs to be dumped here with ligolw_add
#
handler.flush()
# FIXME search_summary.nevents is still zero
search_summary.nevents = len(lsctables.CoincTable.get_table(xmldoc))
ligolw_utils.write_filename(xmldoc, options.output, gz = (options.output or "stdout").endswith(".gz"), verbose = options.verbose)
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