Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print params before possibly fatal check for diagnosis #29

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions candle/parsing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,10 +798,10 @@ def finalize_parameters(bmk):
check_file_parameters_exists(args, bmk_dict, fileParameters)
# Consolidate parameter set. Command-line parameters overwrite file configuration
gParameters = args_overwrite_config(args, fileParameters)
# Check that required set of parameters has been defined
bmk.check_required_exists(gParameters)
print("Params:")
pprint(gParameters)
# Check that required set of parameters has been defined
bmk.check_required_exists(gParameters)
# Dump the parameters to the run directory
final_params = os.path.join(gParameters["output_dir"], "final_params.txt")
with open(final_params, "w") as fp:
Expand Down