-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update minimum Python to 3.8 * stop document Excel parsing and Rachel-style neutralization * `black` formatting * `black` formatting * `ruff` linting * move examples to notebooks * run tests through GitHub actions * remove Travis testing * add GitHub actions to repo * update version to 0.6.0 * `black` formatting * sanitize `RuntimeWarning` in fitting * fix `nbval` sanitize specs
- Loading branch information
Showing
32 changed files
with
4,567 additions
and
2,146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Run tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: Run tests | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: install python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: install package and dependencies | ||
run: pip install -e . && pip install -r test_requirements.txt | ||
|
||
- name: lint code with ruff | ||
run: ruff check . | ||
|
||
- name: check code format with black | ||
run: black --check . | ||
|
||
- name: test code with `pytest` | ||
run: pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.* | ||
~* | ||
!.github | ||
!.gitignore | ||
!.travis.yml | ||
!.flake8 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
====================================== | ||
neutcurve | ||
====================================== | ||
.. image:: https://travis-ci.org/jbloomlab/neutcurve.svg | ||
:target: https://travis-ci.org/jbloomlab/neutcurve.svg | ||
|
||
.. image:: https://img.shields.io/pypi/v/neutcurve.svg | ||
:target: https://pypi.python.org/pypi/neutcurve | ||
|
||
.. image:: https://github.com/jbloomlab/neutcurve/actions/workflows/test.yaml/badge.svg | ||
:target: https://github.com/jbloomlab/neutcurve/actions/workflows/test.yaml | ||
|
||
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg | ||
:target: https://github.com/psf/black | ||
|
||
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json | ||
:target: https://github.com/astral-sh/ruff | ||
|
||
``neutcurve`` is a Python package written by the `Bloom lab <https://research.fhcrc.org/bloom/en.html>`_ for plotting neutralization curves. | ||
|
||
See the `neutcurve documentation <https://jbloomlab.github.io/neutcurve/>`_ for details on how to install and use ``neutcurve``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"path": "../notebooks/curvefits_example.ipynb" | ||
} |
Oops, something went wrong.