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

Bugfix/cli 25 newline in log #33

Merged
merged 3 commits into from
Feb 25, 2020

Conversation

davemfish
Copy link
Contributor

This PR makes the logging from cli.py identical to that from model.py when a model starts execution. This actually has implications for datastack.extract_parameters_from_logfile, which expects to find a line starting with "Arguments".

Copy link
Member

@phargogh phargogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Dave! This is a really important one and thanks for catching it. Since this is a user-facing change, would you be willing to add a note in HISTORY.rst? Looks great otherwise!

@davemfish
Copy link
Contributor Author

Thanks, Dave! This is a really important one and thanks for catching it. Since this is a user-facing change, would you be willing to add a note in HISTORY.rst? Looks great otherwise!

Yes, good call. I was thinking this change in the logfile was not worth noting for users, but actually the bugfix for loading parameters is very user-facing. Noted in HISTORY and updated PR!

Copy link
Member

@phargogh phargogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Dave!

@phargogh
Copy link
Member

I see that one of the tests is failing, but I'm going to chalk that up to a flaky UI issue and have created #36 so that we remember to address it someday and merge this. Thanks, @davemfish !

@phargogh phargogh merged commit 3cb47b3 into natcap:master Feb 25, 2020
emlys added a commit to emlys/invest that referenced this pull request Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants