Open SauravMaheshkar opened 2 months ago
We could use the warnings module to raise either Warning or RuntimeWarning as opposed to the custom warnings in:
warnings
https://github.com/BienfaitKI/polus-dev/blob/2c010f74548d0d2621289e7c71779fab8d014ff3/src/polus/utils/logging.py#L8-L28
Sounds interesting, @SauravMaheshkar . I've not used that module before. Maybe you could give a quick summary of what the benefits of using it, instead of logging, would be?
We could use the
warnings
module to raise either Warning or RuntimeWarning as opposed to the custom warnings in:https://github.com/BienfaitKI/polus-dev/blob/2c010f74548d0d2621289e7c71779fab8d014ff3/src/polus/utils/logging.py#L8-L28