Skip to content

Commit

Permalink
Merge pull request #35 from MetaSys-LISBP/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
llegregam committed May 22, 2023
2 parents f9485e0 + 7b8ffbf commit ff530b4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy_test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on:
release:
types: [ published ]

jobs:
publish-service-client-package:
runs-on: ubuntu-latest
steps:
- name: Publish PyPi package
uses: code-specialist/pypi-poetry-publish@v1
with:
PACKAGE_DIRECTORY: "./physiofit"
PYTHON_VERSION: "3.10"
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
PUBLISH_REGISTRY: "https://test.pypi.org/legacy/"
steps:
- name: Checkout Repository # You must checkout your repository first.
uses: actions/checkout@v3

- name: Publish Package
uses: celsiusnarhwal/poetry-publish@v2
with:
python-version: 3.11
poetry-version: 1.3.1
token: ${{ secrets.TEST_PYPI_API_TOKEN }}
build: true
repo: "testpypi"
4 changes: 2 additions & 2 deletions physiofit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Version changes handled by github action"""
import importlib.metadata

__version__ = "3.0.4"
__version__ = importlib.metadata.version("physiofit")
1 change: 0 additions & 1 deletion physiofit/base/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ def output_recap(self, export_path: str):
final_df.to_csv(f"{str(Path(export_path))}/summary.csv")



def output_report(self, fitter, export_path: str |list = None):
"""
Handle creation and export of the report containing stats from monte
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "physiofit"
version = "3.0.4"
version = "3.0.5"
description = "Calculate extracellular fluxes from metabolite concentrations and biomass data"
authors = ["llegregam <[email protected]>"]
license = "GNU General Public License (GPL)"
Expand Down

0 comments on commit ff530b4

Please sign in to comment.