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

Suppress warning and stdout messages in Jupyter notebooks #1161

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

clinssen
Copy link
Contributor

Fixes #1160.

Additionally, a new parameter has been added to the logger to suppress duplicate warning messages.

I had to disable the cocos-check after rewriting the AST, because this was giving some error messages although the model was compiling file. We decided earlier that cocos checks do not have to make sense after rewriting the AST; the model has at that point already been checked for correctness.

@clinssen clinssen force-pushed the jupyter_notebooks_logging_level branch from ed80f27 to 937db63 Compare January 23, 2025 09:47
Copy link
Contributor

@pnbabu pnbabu left a comment

Choose a reason for hiding this comment

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

Thank you for taking care of this!
The plots in the triplet STDP notebook do not match the ones in the referenced paper. Do you know why that could be?

@clinssen
Copy link
Contributor Author

I have spun off the issue with the triplet STDP synapse to #1163, as it seems to be also present on the current master branch and is hence unrelated to this PR.

@clinssen clinssen requested a review from pnbabu January 23, 2025 14:54
@clinssen
Copy link
Contributor Author

Thank you for the quick review!

@clinssen clinssen merged commit b786d5f into nest:master Jan 23, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set logging_level to ERROR in NESTML tutorial notebooks
2 participants