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

gstlal_inspiral_pipe: use the path of gstlal_inspiral to find the path of share

parent 9208f392
No related branches found
No related tags found
No related merge requests found
......@@ -680,7 +680,7 @@ def parse_command_line():
options.far_injections = [None for inj in options.injections]
#FIXME a hack to find the sql paths
share_path = os.path.split(inspiral_pipe.which('gstlal_reference_psd'))[0].replace('bin', 'share/gstlal')
share_path = os.path.split(inspiral_pipe.which('gstlal_inspiral'))[0].replace('bin', 'share/gstlal')
options.cluster_sql_file = os.path.join(share_path, 'simplify_and_cluster.sql')
options.injection_sql_file = os.path.join(share_path, 'inj_simplify_and_cluster.sql')
......
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