Skip to content
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
24 changes: 16 additions & 8 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- published

env:
CIBW_BUILD: cp310-* cp311-* cp312-*
CIBW_BUILD: cp311-* cp312-* cp313-*
CIBW_ARCHS_LINUX: "x86_64"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_WINDOWS: "x86 AMD64"
Expand Down Expand Up @@ -59,11 +59,11 @@ jobs:
platforms: all

- name: Build & (optionally) test wheels
uses: pypa/cibuildwheel@v2.19.1
uses: pypa/cibuildwheel@v3.2.0

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
name: release-${{ matrix.os }}
path: ./wheelhouse/*.whl
if-no-files-found: error

Expand All @@ -78,9 +78,9 @@ jobs:
submodules: true
- name: Build source distribution
run: pipx run build --sdist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
name: release-sdist
path: dist/*.tar.gz
if-no-files-found: error

Expand All @@ -106,7 +106,7 @@ jobs:
run: sphinx-build ./doc ./build/doc
- name: Zipping documentation
run: cd .//build; zip -r doc.zip doc; cd ..
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: doc
path: build//doc.zip
Expand All @@ -124,7 +124,15 @@ jobs:
- make-doc
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
pattern: release-*
merge-multiple: true
path: dist
- uses: actions/download-artifact@v4
with:
name: doc
path: doc
- name: List distributions to be uploaded
run: ls dist
- name: Upload to GitHub Releases
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ def get_mol_names_in_ccd():
print(f"Compiling fragment library... ({i}/{len(mol_names)})", end="\r")
try:
mol = info.residue(mol_name)
except KeyError:
except ValueError:
# Molecule has missing coordinates
continue
std_fragment_library.add_molecule(mol)
print("Compiling fragment library... Done" + " " * 20)
Expand Down
Loading