Commit f626d8a5 authored by Colm Talbot's avatar Colm Talbot
Browse files

change print to logging

parent 046b871d
Pipeline #18654 passed with stages
in 2 minutes and 39 seconds
......@@ -474,7 +474,7 @@ def write_priors_to_file(priors, outdir):
if outdir[-1] != "/":
outdir += "/"
prior_file = outdir + "prior.txt"
print("Writing priors to {}".format(prior_file))
logging.info("Writing priors to {}".format(prior_file))
with open(prior_file, "w") as outfile:
for key in priors:
outfile.write("prior['{}'] = {}\n".format(key, priors[key]))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment