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
As we have logging.captureWarnings(capture=True) in FFCx init, all warnings (even from other programs) are swallowed. MWE:
logging.captureWarnings(capture=True)
import warnings warnings.warn("test1", RuntimeWarning) import ffcx warnings.warn("test2", RuntimeWarning)
returns
/root/shared/debug/import_ffcx.py:2: RuntimeWarning: test1 warnings.warn("test1", RuntimeWarning)
This means that Deprecation warnings and other warnings added to DOLFINx will never appear, except in the FFCx logger (which is unintuitive).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As we have
logging.captureWarnings(capture=True)
in FFCx init, all warnings (even from other programs) are swallowed.MWE:
returns
/root/shared/debug/import_ffcx.py:2: RuntimeWarning: test1 warnings.warn("test1", RuntimeWarning)
This means that Deprecation warnings and other warnings added to DOLFINx will never appear, except in the FFCx logger (which is unintuitive).
The text was updated successfully, but these errors were encountered: