-
Notifications
You must be signed in to change notification settings - Fork 17
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
Consistent approach to warnings #367
Comments
This is actually addressed in the Python logging HOWTO:
|
We have a few inconsistencies in how we apply this. For example we raise UserWarning when computing partial correlations. Another concern I have is that on user side both types of warnings look very similar so we are training the users to ignore all warnings. |
On a related note, we should be using |
@aloukina this is done right? |
No, not throughout the code ;( |
In some parts of the code we use
logger.warning
while in other parts we usedwarnings
.Is there any reason not use
warnings
everywhere?The text was updated successfully, but these errors were encountered: