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

mol2morgan_fingerprint: fix bug of mismatched indices after folding #93

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

JochenSiegWork
Copy link
Collaborator

  • _explain_rdmol generated a sparse fingeprint not considering folding of the fingerprint. This led to GetBitInfoMap to return indices corresponding to the non-folded fingerprint. These indices lead to out-of-bounds errors for folded dense fingerprints.
  • Fixed this by generating a dense fingerprint in the _explain_rdmol function.
  • This fix is needed for the explainability module.

@JochenSiegWork JochenSiegWork merged commit 21b1f10 into main Sep 27, 2024
14 checks passed
@JochenSiegWork JochenSiegWork deleted the fix_fp_explaination_indices_mismatch branch September 27, 2024 09:59
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.

2 participants