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 core.py resolved import of SmilesTokenizer #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dubeyakshat07
Copy link

Resolved the following error

    from rxn_yields.core import SmilesTokenizer, SmilesClassificationModel
ImportError: cannot import name 'SmilesTokenizer' from 'rxn_yields.core' (/content/rxn_yields/rxn_yields/core.py) ```


@drugilsberg
Copy link

hey @dubeyakshat07, thanks for the contribution. I'm pulling in @pschwllr and @avaucher, since I feel there is no need to import tokenise and model from rxn_yield given the fact that they can be imported from rxnfp that is anyway a dependency of the package.

@avaucher
Copy link
Member

avaucher commented Aug 5, 2022

Thanks @dubeyakshat07 for the PR!

I fail to see what problem your PR fixes a problem. I see that there is a problem in training_scripts/launch_suzuki_miyaura_training.py, and this PR, #14, would fix it. Does that cover your use case? If not, can you indicate how to reproduce the bug?

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.

3 participants