We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the 2_clean_data notebook, corpus_compare.py is printing output to Jupyter notebooks multiple times if it is re-run in the notebook.
This has to do with setting the parser root handler -- set it and warnings replicate, don't set it and no notebook output at all.
Output appears as an error message in a notebook and interrupts batch flow. This also interrupts %run in a group notebook.
The text was updated successfully, but these errors were encountered:
I fixed the the double-notebook output by setting root logger to info and logger.propagate = 0
logger.propagate = 0
Tried removing all logger handlers at end of script to no effect.
However, although the notebook cell displays content only once....
Tried moving all logger console calls from .debug to .info -- notebook output still pink.
in the future, could also try:
%capture [--no-stderr] [--no-stdout] [--no-display] [output]
Sorry, something went wrong.
No branches or pull requests
In the 2_clean_data notebook, corpus_compare.py is printing output to Jupyter notebooks multiple times if it is re-run in the notebook.
This has to do with setting the parser root handler -- set it and warnings replicate, don't set it and no notebook output at all.
Output appears as an error message in a notebook and interrupts batch flow.
This also interrupts %run in a group notebook.
The text was updated successfully, but these errors were encountered: