-
Notifications
You must be signed in to change notification settings - Fork 99
Improve some typing #2000
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
base: main
Are you sure you want to change the base?
Improve some typing #2000
Conversation
Codecov ReportAttention: Patch coverage is
🚀 New features to boost your workflow:
|
Okey - sorry to screw up your PR briefly, I think I've brought it up to date with the non-trivial changes that have been happening upstream. I have some ideas about how we can revamp typing in general, as I'm sure you do, but this is neither the time or the place for me to push that |
7d7f1c8
to
3dc07df
Compare
2b59dd4
to
e906ff2
Compare
This PR includes many changes needed for OpenFF Pablo to type check, and 1 for it to run correctly. Pablo development so far has and will continue to test and type check against this branch (or
main
once it is merged) until it gets into a release.Molecule.to_rdkit()
is run on a molecule with residue numbers that cannot be converted toint
(such as hexadecimal residue numbers used by OpenMM in large PDB files)Molecule.is_isomorphic_with()
so that its keyword arguments are actually keyword arguments. This is not a breaking change as the**kwargs
argument is still present, it's just ignored - we should deprecate and remove this ASAPSorry for the behemoth PR!