Skip to content
Snippets Groups Projects
Commit f22e16f6 authored by Chad Hanna's avatar Chad Hanna
Browse files

gstlal_inspiral_plotsummary: fix thinko in json naming

parent 96c98e1a
No related branches found
No related tags found
No related merge requests found
......@@ -1670,7 +1670,7 @@ for n, filename in enumerate(filenames):
print >>sys.stderr, "%d/%d: %s" % (n + 1, len(filenames), filename)
working_filename = dbtables.get_connection_filename(filename, tmp_path = options.tmp_space, verbose = options.verbose)
connection = sqlite3.connect(working_filename)
contents = CoincDatabase(connection, options.segments_name, veto_segments_name = options.vetoes_name, verbose = options.verbose, plotsummary_json = filename.replace(".sqlite",""), base = os.path.join(options.output_dir, options.user_tag))
contents = CoincDatabase(connection, options.segments_name, veto_segments_name = options.vetoes_name, verbose = options.verbose, plotsummary_json = os.path.split(filename)[-1].replace(".sqlite",""), base = os.path.join(options.output_dir, options.user_tag))
if contents.sim_inspiral_table is not None:
create_sim_coinc_view(connection)
for n, plot in zip(options.plot_group, plots):
......
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