Skip to content

Retain ROCS scores after temporary cleanup errors - #11

Draft
fulopjoz wants to merge 1 commit into
devfrom
fix/rocs-tempdir-cleanup
Draft

Retain ROCS scores after temporary cleanup errors#11
fulopjoz wants to merge 1 commit into
devfrom
fix/rocs-tempdir-cleanup

Conversation

@fulopjoz

Copy link
Copy Markdown
Owner

What changed

  • request cleanup-error tolerance for RDKit and CDPKit scorer temporary directories
  • add focused tests for both open-source backends

Root cause

On networked scratch filesystems, a lingering reader handle can make temporary-directory deletion fail after scoring has completed. Propagating that cleanup exception discards valid score arrays even though the scientific computation succeeded.

Compatibility

Scoring, conformer generation, and returned values are unchanged. Only cleanup failures are suppressed; the operating system or job scratch policy can reap the remaining temporary path.

Validation

  • python -m drugex.training.scorers.runtime_tests: 2 passed
  • python -m drugex.training.tests: passed
  • source compilation and diff checks: passed

Allow RDKit and CDPKit scorer temporary directories to tolerate network-filesystem cleanup failures that occur after scoring has completed.
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