Skip to content

Commit

Permalink
Attempt to fix long_description
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Feb 17, 2024
1 parent 3b633d9 commit 87500b9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploypypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
run: |
python3 -m setuptools_scm
python3 -m build --sdist --wheel --outdir dist/ .
twine check dist/*
python3 -m twine check dist/*
- name: Publish to PyPI
run: |
twine upload -r pypi -u __token__ -p ${{ secrets.PYPI_TOKEN }} --non-interactive dist/*
python3 -m twine upload -r pypi -u __token__ -p ${{ secrets.PYPI_TOKEN }} --non-interactive dist/*
4 changes: 2 additions & 2 deletions .github/workflows/deploytestpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
run: |
python3 -m setuptools_scm
python3 -m build --sdist --wheel --outdir dist/ .
twine check dist/*
python3 -m twine check dist/*
- name: Publish to Test PyPI
run: |
twine upload --skip-existing --verbose -r testpypi -u __token__ -p ${{ secrets.TESTPYPI_TOKEN }} --non-interactive dist/*
python3 -m twine upload --skip-existing --verbose -r testpypi -u __token__ -p ${{ secrets.TESTPYPI_TOKEN }} --non-interactive dist/*
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ See the [quickstart notebook](https://github.com/lukeshingles/pynonthermal/blob/
Advanced users will likely want to control the particular excitation transitions that are included in the solver. Individual excitation transitions can be added with:

```python
SpencerFanoSolver.add_excitation(
Z, ion_stage, n_level, xs_vec, epsilon_trans_ev, transitionkey=(lower, upper)
)
SpencerFanoSolver.add_excitation(Z, ion_stage, n_level, xs_vec, epsilon_trans_ev, transitionkey=(lower, upper))
```
Z is the atomic number. ion_stage is the one more than the ion charge (e.g., Fe I or ion stage 1 has charge zero). The argument xs_vec is a numpy array of cross sections [cm<sup>2</sup>] defined at every energy in the sf.engrid array [eV]. The transition key can be almost anything that is unique within the ion and is used to refer back to the level pair when requesting the excitation rate coefficient.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ classifiers = [
]
dynamic = ["version", "dependencies", "entry-points", "readme", "scripts"]
requires-python = ">=3.8"
license = { file = "LICENSE.txt" }
license = { file = "LICENSE" }

[project.urls]
Repository = "https://www.github.com/lukeshingles/pynonthermal/"
Expand Down

0 comments on commit 87500b9

Please sign in to comment.