-
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.
Merge pull request #9 from PhasesResearchLab/main
Update RS branch
- Loading branch information
Showing
24 changed files
with
253 additions
and
50 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Full Test | ||
|
||
on: [push, pull_request, release] | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
testPython309: | ||
|
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,6 +1,6 @@ | ||
name: Core Functions | ||
|
||
on: [push, pull_request, release] | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
coreTest: | ||
|
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,33 @@ | ||
name: Upload to PyPI | ||
|
||
on: | ||
push: | ||
tags: | ||
- '**' | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
cache-dependency-path: 'pyproject.toml' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
|
||
- name: Publish package | ||
uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
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
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,4 +1,6 @@ | ||
sphinx-github-changelog | ||
sphinx-github-changelog>=1.2.1 | ||
sphinx-autodoc-typehints | ||
sphinx-rtd-theme | ||
myst-nb | ||
sphinx-rtd-theme>=1.3.0 | ||
myst-nb>=0.17.2 | ||
sphinx>5.0.0 | ||
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
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
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 |
---|---|---|
|
@@ -10,4 +10,5 @@ Subpackages | |
pysipfenn.core | ||
pysipfenn.descriptorDefinitions | ||
pysipfenn.modelsSIPFENN | ||
pysipfenn.tests | ||
|
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,67 @@ | ||
pySIPFENN Tests | ||
=============== | ||
|
||
Core pySIPFENN Functionalities | ||
------------------------------ | ||
|
||
.. automodule:: pysipfenn.tests.test_pysipfenn | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
KS2022 Featurization Correctness | ||
-------------------------------- | ||
|
||
.. automodule:: pysipfenn.tests.test_KS2022 | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
KS2022 Dilute-Optimized Featurization Correctness | ||
------------------------------------------------- | ||
|
||
.. automodule:: pysipfenn.tests.test_KS2022_dilute | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Ward2017 Featurization Correctness | ||
---------------------------------- | ||
|
||
.. automodule:: pysipfenn.tests.test_Ward2017 | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Auto Runtime of All ONNX Models with Ward2017 | ||
--------------------------------------------- | ||
|
||
.. automodule:: pysipfenn.tests.test_AllCompatibleONNX_Ward2017 | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Accuracy of NN9 20 24 Predictions Against Reference | ||
--------------------------------------------------- | ||
|
||
.. automodule:: pysipfenn.tests.test_Krajewski2020_NN9NN20NN24_ONNX | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Model Exporters Runtime | ||
----------------------- | ||
|
||
.. automodule:: pysipfenn.tests.test_ModelExporters | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Defining Custom Models | ||
---------------------- | ||
|
||
.. automodule:: pysipfenn.tests.test_customModel | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "pysipfenn" | ||
version = "0.13.0" | ||
version = "0.13.1" | ||
authors = [ | ||
{ name="Adam Krajewski", email="[email protected]" }, | ||
{ name="Jonathan Siegel", email="[email protected]" }, | ||
|
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,2 +1,3 @@ | ||
print('Importing from top pySIPFENN namespace...') | ||
from pysipfenn.core.pysipfenn import * | ||
from pysipfenn.core.modelExporters import * | ||
from pysipfenn.core.modelExporters import * |
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
|
||
# - add new ones here if extending the code | ||
|
||
__version__ = '0.13.0' | ||
__version__ = '0.13.1' | ||
__authors__ = [["Adam Krajewski", "[email protected]"], | ||
["Jonathan Siegel", "[email protected]"]] | ||
__name__ = 'pysipfenn' | ||
|
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
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
Oops, something went wrong.