Skip to content
Snippets Groups Projects
Commit 97dd62a0 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Minor fixes

parent 0a0bf97a
No related branches found
No related tags found
1 merge request!599Improvements to bilby results cli
Pipeline #80414 passed
......@@ -78,7 +78,7 @@ def convert_df_to_preresult(df, format, resume_file):
result.posterior = df
result.priors = dict()
filename = bilby.core.result.result_file_name(outdir, label, format)
filename = filename.replace("result", "preresult")
filename = filename.replace("result.{}".format(format), "preresult.{}".format(format))
result.save_to_file(filename=filename, extension=format)
......
......@@ -72,7 +72,7 @@ setup(name='bilby',
packages=['bilby', 'bilby.core', 'bilby.core.sampler',
'bilby.gw', 'bilby.gw.detector', 'bilby.gw.sampler',
'bilby.hyper', 'cli_bilby'],
package_dir={'bilby': 'bilby'},
package_dir={'bilby': 'bilby', 'cli_bilby': 'cli_bilby'},
package_data={'bilby.gw': ['prior_files/*'],
'bilby.gw.detector': ['noise_curves/*.txt', 'detectors/*'],
'bilby': [version_file]},
......
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