Skip to content

Fix ROCS scoring correctness and robustness - #6

Draft
fulopjoz wants to merge 3 commits into
devfrom
fix/rocs-scoring-followup
Draft

Fix ROCS scoring correctness and robustness#6
fulopjoz wants to merge 3 commits into
devfrom
fix/rocs-scoring-followup

Conversation

@fulopjoz

@fulopjoz fulopjoz commented Feb 25, 2026

Copy link
Copy Markdown
Owner

What changed

  • correct OpenEye color-optimization flags, duplicate remapping, shape-only report parsing, worker semantics, and configurable timeouts
  • add an RDKit conformer timeout and clarify that legacy RDKit combo/color values use a shape-optimized pose
  • resolve tutorial input paths relative to their scripts
  • add seven portable regression tests that do not require an OpenEye license

Root cause

The OpenEye wrapper did not consistently connect public options to CLI flags and report columns. Shape-only output does not contain TanimotoCombo, so parsing that default column could silently return no scores. Duplicate conformer generation also lost the mapping to repeated inputs.

Compatibility

The existing constructor remains compatible. n_jobs is accepted for backend API consistency but OpenEye ROCS remains one CLI subprocess. This PR does not introduce the separate explicit optimization-mode API.

Validation

  • python -m drugex.training.scorers.tests: 7 passed
  • python -m drugex.training.tests: passed
  • source compilation and diff checks: passed
  • licensed OpenEye CLI integration: not run

@fulopjoz
fulopjoz force-pushed the fix/rocs-scoring-followup branch from 6603939 to b1abcee Compare February 25, 2026 16:22
@fulopjoz

Copy link
Copy Markdown
Owner Author

Recreating as upstream PR against CDDLeiden/DrugEx

@fulopjoz fulopjoz closed this Feb 25, 2026
@fulopjoz fulopjoz reopened this Jul 29, 2026
fulopjoz added 3 commits July 29, 2026 16:31
Correct OpenEye color-optimization flags, duplicate score remapping, shape-only report parsing, worker semantics, and configurable timeouts. Add portable regression coverage that does not require an OpenEye license.
@fulopjoz
fulopjoz marked this pull request as draft July 29, 2026 14:32
@fulopjoz
fulopjoz force-pushed the fix/rocs-scoring-followup branch from b1abcee to 7ac142b Compare July 29, 2026 14:32
@fulopjoz fulopjoz changed the title Fix bugs and improve robustness of ROCS scoring Fix ROCS scoring correctness and robustness Jul 29, 2026
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.

1 participant