Skip to content

Commit

Permalink
fix outdated min python version in docs/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Sep 18, 2023
1 parent 1da2355 commit 00094f0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,21 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check out repo
uses: actions/checkout@v4

- uses: actions/setup-python@v4
name: Install Python
with:
python-version: "3.10"
python-version: "3.11"

- run: |
python -m pip install build
pip install -e .
- name: Build sdist
run: python -m build --sdist

- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz
Expand All @@ -108,11 +113,14 @@ jobs:
python-version: ["39", "310", "311"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Check out repo
uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_BUILD: cp${{ matrix.python-version }}-*

- name: Save artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -129,11 +137,13 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Get build artifacts
uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pymatgen/core/lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@ def get_points_in_sphere(
Algorithm:
1. place sphere of radius r in crystal and determine minimum supercell
(parallepiped) which would contain a sphere of radius r. for this
(parallelepiped) which would contain a sphere of radius r. for this
we need the projection of a_1 on a unit vector perpendicular
to a_2 & a_3 (i.e. the unit vector in the direction b_1) to
determine how many a_1"s it will take to contain the sphere.
Expand Down

0 comments on commit 00094f0

Please sign in to comment.