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

Added qmllib optional flag #118

Merged
merged 9 commits into from
Nov 30, 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
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ jobs:
- run: make format python=python
- run: make build python=python
- run: make test-dist python=python
- run: pip install dist/*
- run: for x in dist/*; do pip uninstall -y rmsd && pip install $x; done
- run: pip uninstall -y rmsd && pip install $(find dist -name "*.whl" | tail -n 1)[qml]
- run: which calculate_rmsd
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ cov:
${python} -m pytest --cov=${package} --cov-config .coveragerc --cov-report html tests

build:
${python} -m build --sdist --skip-dependency-check .
${python} -m build --skip-dependency-check .

upload:
${python} -m twine upload ./dist/*.tar.gz
${python} -m twine upload ./dist/*

## Version

Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ classifiers = [
"Topic :: Scientific/Engineering :: Chemistry",
]
keywords = ["pdb", "atoms", "kabsch", "reordering", "rotation", "xyz", "rmsd"]

dependencies=["numpy", "scipy"]

[project.optional-dependencies]
qml = ["qmllib"]

[project.urls]
Homepage = "https://github.com/charnley/rmsd"

Expand Down
2 changes: 1 addition & 1 deletion rmsd/calculate_rmsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
https://github.com/charnley/rmsd
"""

__version__ = "1.5.1"
__version__ = "1.6.0"

import argparse
import copy
Expand Down
2 changes: 1 addition & 1 deletion rmsd/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.5.1"
__version__ = "1.6.0"
Loading