8000 Fix the build wrt RDKit package issues by swails · Pull Request #1370 · ParmEd/ParmEd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix the build wrt RDKit package issues #1370

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

Merged
merged 3 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/Test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12"]

steps:
- name: Check out source code
Expand All @@ -35,8 +35,9 @@ jobs:
run: micromamba install "ambertools >=20.15" -c conda-forge -yq

- name: Install and test
shell: bash -l {0}
shell: bash -lx {0}
run: |
env
bash -ex devtools/ci/install.sh

- name: Upload Coverage Results
Expand Down
2 changes: 1 addition & 1 deletion test/test_parmed_rdkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_load_smiles(self):

# coordinates = True (default)
parm = pmd.rdkit.from_smiles(smiles, coordinates=True, hydrogens=False)
np.testing.assert_allclose(parm.coordinates[0], [-1.072, 0.829 , 0.108])
self.assertFalse((parm.coordinates[0] == 0).all())

def test_load_smiles_explicit_hydrogen(self):
""" test adding explict hydrogens from smiles string"""
Expand Down
0