Replies: 1 comment 2 replies
-
We discussed this and will do it after the 1.0 release. We'll change all print statements and replace some with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
hls4ml
often usesprint()
over python'swarnings
andlogging
modules. For example, inhls4ml/converters/__init__.py
:we only use the
keras
converter in our project and would like to suppress the warning thattorch
is not installed. However, this is quite cumbersome as it is aprint('WARNING: ...')
statement, not an actual python warning.I can create a PR to transform these makeshift warnings into actual warnings. But I first want to discuss here if there is maybe a good reason not to do that.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions