-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rejection sampling #10
Conversation
return MACCSkeys.GenMACCSKeys(Chem.MolFromSmiles(smiles)) | ||
|
||
|
||
def tanimoto_dist_func(smiles1: str, smiles2: str, fingerprint: str="morgan"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's convert fingerprint type options e.g. "morgan" vs "maccs" vs "ecfp" to an enum and call a match statement on the supported options.
maccs_sim_to_lead: float=-1 | ||
inchi: str=None | ||
|
||
def score(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would we modify the scoring function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be tackled in future iterations, when we experiment with something other than the qed constrained optimization problem.
No description provided.