Skip to content

**kwargs for Morgan Fingerprints, Handling Not clear #76

Description

@ThomasWolf0701

MorganFingerprints.init accepts **kwargs (and callers pass many generator options via MorganFingerprintsParams().model_dump()), but those kwargs are currently ignored. As a result, settings like countSimulation, useBondTypes, includeChirality, etc. have no effect when using the MorganFingerprints convenience

def init(
self, radius: int = 2, fpSize: int = 2048, include_chirality: bool = False, use_counts: bool = True, **kwargs
) -> None:
super().init(
"MorganFP",
{
"radius": radius,
"fpSize": fpSize,
"includeChirality": include_chirality,
},
use_counts=use_counts,
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions