-
Notifications
You must be signed in to change notification settings - Fork 19
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
adjusting to rdkit fp generator changes #54
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ing and pickling.
- nBits->fpSize - remove properties / overwrite setattr - adapt tests.
- moving code around for easier oversight - adding nicer dpecrecation warnings.
- add new generator functions to transformer test
- add DeprecationWarnings to not harmonized fpSize bits.
…r_changes adapting to new rdkit fingerprint generators.
…roper deprecation warnings. Only implemented in the MorganFP so far
… most flexible testing setup tbh
…, and only warnings from dependencies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Maintenance update, with a transition from soon deprecated RDKit fingerprint calls to the newer generator based calls for Morgan, AtomPair, TopologicalTorsion and RDKitFP.
Deprecation warnings and transparent handling of deprecated keywords has been put in place, and will easen the transition for users. Most notably is the change of the nBits to fpSize keyword throughout the library. e.g.
MorganFingerprintTransformer(nBits=256)
will work for now but give a warning, and should be changed toMorganFingerprintTransformer(fpSize=256)
The abstract class FpsTransformer is now sharing a base class BaseFpsTransformer with the new abstract class FpsGeneratorTransformer that supports creation, pickling and automatic update of an internal generator object.
fingerprints.py has for better overview been changed to a module with single files for related fingerprints. All fingerprints can still be imported from scikit_mol,fingerprints.