Skip to content
Snippets Groups Projects
Commit 4fb8709d authored by Guillaume Poirier-Morency's avatar Guillaume Poirier-Morency
Browse files

mirbooking-iterative: Fix binary path and install under bin/

parent d04837de
No related branches found
No related tags found
1 merge request!20Add an option to blacklist interactions and support iterative equilibrium solving (fix #82)
......@@ -11,3 +11,7 @@ configure_file(input: 'config.h.in',
mirbooking_bin = executable('mirbooking', 'mirbooking.c',
dependencies: [glib_dep, gobject_dep, gio_dep, gio_unix_dep, mirbooking_dep, m_dep, mpi_dep],
install: true)
install_data('mirbooking-iterative',
install: true,
install_dir: 'bin')
......@@ -18,7 +18,7 @@ def main(argv):
while cutoff > target_cutoff:
with tempfile.NamedTemporaryFile() as blacklistf:
blacklist.to_csv(blacklistf.name, sep='\t', index=False)
mirbooking_final_args =['build/bin/mirbooking'] + mirbooking_args + ['--blacklist', blacklistf.name, '--cutoff', str(cutoff), '--output', args.output]
mirbooking_final_args =['mirbooking'] + mirbooking_args + ['--blacklist', blacklistf.name, '--cutoff', str(cutoff), '--output', args.output]
print(f'Running mirbooking with cutoff {cutoff} and {len(blacklist)} blacklisted interactions.')
ret = subprocess.run(mirbooking_final_args)
if ret.returncode != 0:
......
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