Skip to content

Remove molvs dependency#428

Merged
mauvais2 merged 7 commits into1.8.0from
remove_molvs_dep
Apr 2, 2026
Merged

Remove molvs dependency#428
mauvais2 merged 7 commits into1.8.0from
remove_molvs_dep

Conversation

@mcloughlin2
Copy link
Copy Markdown
Collaborator

The SMILES standardization functionality from the molvs package was integrated into RDKit a long time ago, and molvs is no longer maintained. This PR changes the standardization functions in utils/struct_utils.py to use the RDKit functions rather than molvs, and removes molvs from the AMPL virtual environments.

…sues with torch

and pyg versions: support Python 3.9 through 11, but not 3.12+ which doesn't work with
DeepChem. Removed pip dependency and moved setuptools to [build-system] block, since
it's no longer required for AMPL runtime.
@mcloughlin2 mcloughlin2 requested a review from mauvais2 April 2, 2026 00:51
@mcloughlin2
Copy link
Copy Markdown
Collaborator Author

The unit tests in test_struct_utils are failing in the CI environment, but they work for me just fine when I run them in my own environment built with AMPL/install-ampl/create-venv.sh. I don't understand how CI sets up its environment, but something must be different. All the other tests pass.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

❌ Patch coverage is 68.42105% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
atomsci/ddm/utils/struct_utils.py 68.42% 6 Missing ⚠️
@@            Coverage Diff             @@
##            1.8.0     #428      +/-   ##
==========================================
- Coverage   51.40%   51.38%   -0.03%     
==========================================
  Files          36       36              
  Lines       10685    10690       +5     
==========================================
  Hits         5493     5493              
- Misses       5192     5197       +5     
Flag Coverage Δ
unittests 51.38% <68.42%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
atomsci/ddm/utils/struct_utils.py 55.82% <68.42%> (-1.15%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mauvais2 mauvais2 requested review from paulsonak and stewarthe6 April 2, 2026 20:24
@mauvais2 mauvais2 merged commit 0705bd2 into 1.8.0 Apr 2, 2026
8 checks passed
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