Skip to content
Snippets Groups Projects
Commit 91422a7d authored by Cort Posnansky's avatar Cort Posnansky
Browse files

Fix verbose option in gstlal_inspiral_plot_background and...

Fix verbose option in gstlal_inspiral_plot_background and gstlal_compute_far_from_snr_chisq_histograms
parent 3953b113
No related branches found
No related tags found
1 merge request!385Fix verbose option in gstlal_inspiral_plot_background and gstlal_compute_far_from_snr_chisq_histograms
Pipeline #494042 failed
......@@ -135,7 +135,7 @@ for n, filename in enumerate(options.databases, start = 1):
#
if options.verbose:
print("%d/%d: %s" % (n, len(options.non_injection_db + options.injection_db), filename), file=sys.stderr)
print("%d/%d: %s" % (n, len(options.databases), filename), file=sys.stderr)
if not options.force and sqlite3.connect(filename).cursor().execute("""SELECT EXISTS(SELECT * FROM process WHERE program == ?);""", (u"gstlal_compute_far_from_snr_chisq_histograms",)).fetchone()[0]:
if options.verbose:
print("already processed, skipping", file=sys.stderr)
......
......@@ -333,7 +333,7 @@ else:
for num, filename in enumerate(filenames):
if verbose:
if options.verbose:
print("%d/%d:" % (num, len(filenames)), file=sys.stderr)
rankingstat, rankingstatpdf, seg = load_distributions(filename, 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