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

Serial Refine: Prevent console spam by changing from print to logger statement #634

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

Bartdoekemeijer
Copy link
Collaborator

Silence print statement in Serial Refine

The Serial Refine algorithm by default prints how many calculations are skipped because they were calculated in a previous step (still in memory). This print statement cannot be avoided without a hardcode fix and spams up the console window unnecessarily.

Related issue

N/A

Impacted areas of the software

Optimization.

Additional supporting information

N/A

Test results, if applicable

N/A

@Bartdoekemeijer Bartdoekemeijer changed the title Change from print to logger statement Serial Refine: Prevent console spam by changing from print to logger statement Apr 25, 2023
@paulf81 paulf81 requested a review from rafmudaf April 25, 2023 14:20
Copy link
Collaborator

@paulf81 paulf81 left a comment

Choose a reason for hiding this comment

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

Good call!

@rafmudaf rafmudaf merged commit f2797fe into NREL:develop Apr 25, 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.

3 participants