Skip to content
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

updated warning to logger #1090

Merged
merged 6 commits into from
Nov 7, 2024
Merged

updated warning to logger #1090

merged 6 commits into from
Nov 7, 2024

Conversation

twinbrian
Copy link
Contributor

proofread logger.info and changed all warning.warn to logger.warn (including notebooks)

chemprop/data/dataloader.py Outdated Show resolved Hide resolved
chemprop/featurizers/molecule.py Outdated Show resolved Hide resolved
chemprop/featurizers/molgraph/reaction.py Outdated Show resolved Hide resolved
chemprop/featurizers/molgraph/reaction.py Outdated Show resolved Hide resolved
chemprop/models/model.py Outdated Show resolved Hide resolved
chemprop/nn/message_passing/multi.py Outdated Show resolved Hide resolved
"/home/knathan/chemprop/chemprop/featurizers/molecule.py:52: UserWarning: The RDKit 2D features can deviate signifcantly from a normal distribution. Consider manually scaling them using an appropriate scaler before creating datapoints, rather than using the scikit-learn `StandardScaler` (the default in Chemprop).\n",
" warnings.warn(\n"
"The RDKit 2D features can deviate signifcantly from a normal distribution. Consider manually scaling them using an appropriate scaler before creating datapoints, rather than using the scikit-learn `StandardScaler` (the default in Chemprop).\n",
"[16:42:01] DEPRECATION WARNING: please use MorganGenerator\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KnathanM you might be interested in this depreciation warning

examples/uncertainty.ipynb Outdated Show resolved Hide resolved
docs/source/tutorial/python/data/dataloaders.ipynb Outdated Show resolved Hide resolved
@shihchengli shihchengli enabled auto-merge (squash) November 7, 2024 16:17
@shihchengli shihchengli merged commit 7667172 into chemprop:main Nov 7, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v2 FEATURE]: using logging to handle logging messages in all the modules
2 participants