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

Adds a simple print out of the label and outdir before commencing

For scripts with multiple `run_sampler` commands, it isn't always clear
which stage one is at. This clearly prints that out and will be useful
for debugging.
parent 267b6133
No related branches found
No related tags found
1 merge request!326Adds a simple print out of the label and outdir before commencing
Pipeline #43721 passed
......@@ -90,6 +90,10 @@ def run_sampler(likelihood, priors=None, label='label', outdir='outdir',
An object containing the results
"""
logger.info(
"Running for label '{}', output will be saved to '{}'".format(
label, outdir))
if clean:
command_line_args.clean = clean
if command_line_args.clean:
......
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