Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
e63345f
remove old workflows
JR-1991 Jun 22, 2024
71db8a1
fix spelling
JR-1991 Jun 22, 2024
fac2c87
remove unused code and artifacts
JR-1991 Jun 22, 2024
5dad733
add migrated lib
JR-1991 Jun 22, 2024
14f25a5
migrate to pyproject
JR-1991 Jun 22, 2024
6301617
linting and testing workflows
JR-1991 Jun 22, 2024
0c979c5
update fixtures
JR-1991 Jun 22, 2024
28697df
ignore mac things
JR-1991 Jun 22, 2024
a924ce6
fix typos
JR-1991 Jun 22, 2024
984847e
update readme
JR-1991 Jun 22, 2024
51ad12f
add new tests
JR-1991 Jun 22, 2024
7622a8a
only lint `pyenzyme` and `tests`
JR-1991 Jun 22, 2024
ab29d57
add dev examples
JR-1991 Jun 22, 2024
415ec1e
use `serialization_alias` for ld fields
JR-1991 Jun 25, 2024
c2e52e3
remove unused imports
JR-1991 Jun 25, 2024
0e7f516
added pyright and poetry
haeussma Jun 26, 2024
eb19c84
regenerated lib via gen.toml including celsius
haeussma Jun 26, 2024
bf0ff6d
replaced content with newly generated model
haeussma Jun 26, 2024
cf1618c
replaced mode, added celsius as unit
haeussma Jun 26, 2024
b2bb4f1
remove unused import
JR-1991 Jun 26, 2024
e8d6dc5
Merge pull request #68 from EnzymeML/add-celsius
JR-1991 Jun 26, 2024
065d66c
updated pandas dependency version range
haeussma Aug 16, 2024
981ddcb
update dev examples
JR-1991 Aug 16, 2024
ef42fa7
implement sbml omex parser
JR-1991 Aug 16, 2024
16f4e89
adjust serializer to model change
JR-1991 Aug 16, 2024
81dde6d
adjust and extend mappings to model changes
JR-1991 Aug 16, 2024
6b29053
format strings in multiple lines
JR-1991 Aug 16, 2024
7be7ace
model update
JR-1991 Aug 16, 2024
4890eb2
utilities to parse RDF
JR-1991 Aug 16, 2024
4fcdb6d
remove redundant `unit` arg
JR-1991 Aug 16, 2024
abe6944
export vital sbml functions
JR-1991 Aug 16, 2024
7350377
adjust to model changes
JR-1991 Aug 16, 2024
877cd41
add parameter fetcher
JR-1991 Aug 16, 2024
0e41499
refactor and extend to nested and multiple types
JR-1991 Aug 16, 2024
b15e149
rename to prevent mutability issues
JR-1991 Aug 16, 2024
6acea11
add `pymetadata` dep for OMEX support
JR-1991 Aug 16, 2024
d687c43
update tests
JR-1991 Aug 16, 2024
734f849
remove unused imports
JR-1991 Aug 16, 2024
df6c1af
remove unused `units`
JR-1991 Aug 16, 2024
835e2c3
update dev example
JR-1991 Aug 19, 2024
978e100
attach readers and writers to model class
JR-1991 Aug 19, 2024
ec497a5
add parameters to enzmldoc
JR-1991 Aug 19, 2024
165eeec
move params to root
JR-1991 Aug 19, 2024
c2c68c3
adapt to parameter loc and cast `str` to `float`
JR-1991 Aug 19, 2024
f1eeaf4
adapt parameter change
JR-1991 Aug 19, 2024
7547872
cast to float
JR-1991 Aug 19, 2024
958b321
add utility to strip ld keys
JR-1991 Aug 19, 2024
a57a732
update tests
JR-1991 Aug 19, 2024
6330f0c
add `to_pandas` to `EnzymeMLDocument`
JR-1991 Aug 20, 2024
bf62d86
data, time, time_unit in `MeasurementData` not mandatory anymore
haeussma Aug 20, 2024
fe3d3bb
- can not assume filenames
fbergmann Aug 23, 2024
f17303f
- init defaults to add missing attributes
fbergmann Aug 23, 2024
ca68f4f
- omex uses /tab-separated-values for tsv
fbergmann Aug 23, 2024
c895c26
update dev examples
JR-1991 Sep 7, 2024
2c9a3cf
add default imports
JR-1991 Sep 7, 2024
428a889
extract all files within omex
JR-1991 Sep 7, 2024
7a381d8
adapt parser and serializer to annotations
JR-1991 Sep 7, 2024
767c10a
add support for legacy and new version
JR-1991 Sep 7, 2024
8697431
rename method and update docs
JR-1991 Sep 7, 2024
43f76e6
use `float` instead of `int`
JR-1991 Sep 7, 2024
20e73a1
add function to extract the namespaces
JR-1991 Sep 7, 2024
64b2075
update tests
JR-1991 Sep 7, 2024
19f9281
add `pydantic-xml` dep
JR-1991 Sep 7, 2024
8e234dd
add testing section
JR-1991 Sep 7, 2024
93713f0
add container test
JR-1991 Sep 7, 2024
7830cd8
check fragments instead of complete uris
JR-1991 Sep 7, 2024
6d17141
Merge branch 'pydantic-xml' into v2-migration
JR-1991 Sep 7, 2024
64cd210
if multiplier is `1` set it to `None`
JR-1991 Sep 7, 2024
1e3bee5
add run command
JR-1991 Sep 7, 2024
2b702a2
add `vessel_id` to `Complex`
JR-1991 Sep 8, 2024
5d351a5
update dev examples
JR-1991 Sep 8, 2024
55eac11
extract compartment for `Complex`
JR-1991 Sep 8, 2024
f530e1e
update tests
JR-1991 Sep 8, 2024
2c10d54
remove unused import
JR-1991 Sep 8, 2024
91b9993
add suite class
JR-1991 Sep 23, 2024
de446b6
fix units not recognized
JR-1991 Sep 24, 2024
4efc6d1
Return `None` if `unit` is `None`
JR-1991 Sep 24, 2024
a0282d4
set temp unit and value optional
JR-1991 Sep 24, 2024
d1fa04e
fix unit ids not retrieved corectly
JR-1991 Sep 25, 2024
7e41492
fix unit ids and remove validation error
JR-1991 Sep 25, 2024
ccf56c4
Update pyproject.toml
haeussma Dec 18, 2024
c286783
Update pyproject.toml
haeussma Dec 19, 2024
c27bb23
Update pyproject.toml
haeussma Feb 7, 2025
766ab6c
Fix 313 enum variants (#73)
JR-1991 Mar 4, 2025
6d9a62b
update sbml integration
JR-1991 May 6, 2025
350f11d
update sbml integration
JR-1991 May 6, 2025
0c8698a
update tests
JR-1991 May 6, 2025
922db36
add mdmodels dep
JR-1991 May 6, 2025
496e7d4
adapt to mdmodels unit def
JR-1991 May 6, 2025
c0f0aaf
update model version
JR-1991 May 6, 2025
a2c3d35
remove dev examples
JR-1991 May 6, 2025
5cc13ce
update docs
JR-1991 May 6, 2025
b10a488
use handler instead of attaching to class
JR-1991 May 6, 2025
1c650ec
add db fetcher
JR-1991 May 6, 2025
c4ec525
remove unused modules
JR-1991 May 6, 2025
bb0db4a
remove unused assets
JR-1991 May 6, 2025
c83c8a5
shorten names
JR-1991 May 6, 2025
d5144f9
add example code
JR-1991 May 6, 2025
8e9c5cc
add tabular parser
JR-1991 May 6, 2025
6b1ff12
typo
JR-1991 May 6, 2025
2fafd36
rename modules
JR-1991 May 7, 2025
e3994c5
process name and use as `id`
JR-1991 May 7, 2025
a64024f
adapt to changed module names
JR-1991 May 7, 2025
999ee2c
remove unsued
JR-1991 May 7, 2025
5f5104e
fix sbml tests
JR-1991 May 7, 2025
ecd419f
fix ruff issues
JR-1991 May 7, 2025
fc75d20
add sepc submod
JR-1991 May 8, 2025
e6f5d3d
add pubchem fetcher
JR-1991 May 8, 2025
eb9fc12
adapt to new version
JR-1991 May 8, 2025
73f2948
update model
JR-1991 May 8, 2025
fcd0d57
remove unused imports
JR-1991 May 8, 2025
c61836c
test suite interface
JR-1991 May 9, 2025
a388daa
use poetry and add httpx mock
JR-1991 May 9, 2025
b752b40
read in from string
JR-1991 May 9, 2025
7d1af97
revert poetry
JR-1991 May 9, 2025
e2a1ac0
add composer function
JR-1991 May 9, 2025
26805d7
add pdb fetcher
JR-1991 May 9, 2025
af1e771
generalize type hints
JR-1991 May 9, 2025
8778a85
use `rich` print
JR-1991 May 9, 2025
b61a438
update tests for pdb fetcher
JR-1991 May 9, 2025
4069b90
allow prefixing of identifiers
JR-1991 May 9, 2025
709e130
add `compose` part
JR-1991 May 9, 2025
ee941eb
update features
JR-1991 May 9, 2025
f4b4f71
add base thin layer class
JR-1991 May 9, 2025
64858c7
update pymetadata dependency to version 0.5.3
haeussma May 12, 2025
9cbed5e
upper case id by default
JR-1991 May 18, 2025
8125c5c
test lowercase pdb id case
JR-1991 May 18, 2025
cecdd81
add `description` fields
JR-1991 May 18, 2025
6d2712d
add `is_mapper`
JR-1991 May 23, 2025
db39b8b
add plotting method
JR-1991 May 23, 2025
c84ca72
import layers, if possible
JR-1991 May 23, 2025
877d457
set element not constant
JR-1991 May 23, 2025
8469592
extend docs and add abstract methods
JR-1991 May 23, 2025
ff511c2
add `pysces` thin layer
JR-1991 May 23, 2025
f83788d
adjust available packages
JR-1991 May 23, 2025
9234488
remove unused
JR-1991 May 23, 2025
6b6873d
add pysces dep
JR-1991 May 23, 2025
a5fcfa3
update deps
JR-1991 May 23, 2025
660a16b
add compliance check
JR-1991 May 23, 2025
18b4782
add `lmfit` dependency
JR-1991 May 23, 2025
5296d2e
add test file
JR-1991 May 23, 2025
c9ed0d8
dont fail fast
JR-1991 May 23, 2025
18afd11
add interactive plot
JR-1991 May 23, 2025
ac316e1
fix linter error
JR-1991 May 23, 2025
62a4f15
check for `IPython` availability
JR-1991 May 23, 2025
f4f3a5f
remove unused import
JR-1991 May 23, 2025
0644d4e
add petab export
JR-1991 May 25, 2025
4c2dd78
fix 3.10 missing `Self`
JR-1991 May 25, 2025
9d64c11
add footer
JR-1991 Jun 1, 2025
1ace129
add `matplotlib` dep
JR-1991 Jun 14, 2025
fc89c85
Remove model rebuild loop from v2.py
JR-1991 Jul 25, 2025
d1d5ff0
Handle empty XML string in extract_namespaces
JR-1991 Jul 25, 2025
3484638
Update XML fixture for EnzymeML compatibility
JR-1991 Jul 25, 2025
c240abb
Improve SBML serialization and data type handling
JR-1991 Jul 25, 2025
87a7753
Fix ThinLayerPysces import path in test
JR-1991 Jul 25, 2025
6a41af3
Remove redundant references type check in suite.py
JR-1991 Jul 25, 2025
8651561
Make Python version configurable in Dockerfile
JR-1991 Jul 25, 2025
f92a394
Remove unused
JR-1991 Jul 29, 2025
8ed58b6
Add legacy codebase for backward compat
JR-1991 Jul 29, 2025
f5b8479
Update examples
JR-1991 Jul 29, 2025
6dbaa3f
Add SBML fixture and legacy integration test
JR-1991 Jul 29, 2025
874f5ab
Suppress PySCeS import output and fix parameter update
JR-1991 Jul 29, 2025
186142b
Add field validators for conditions, pH, and temperature
JR-1991 Jul 29, 2025
1735910
Convert measurement temperature from Celsius to Kelvin
JR-1991 Jul 29, 2025
b65e4cf
Add return value docstring to to_petab method
JR-1991 Jul 29, 2025
388e85e
Add new dependencies to pyproject.toml
JR-1991 Jul 29, 2025
68bca2b
Add explicit equation type handling and ID extraction
JR-1991 Jul 29, 2025
0eedce5
Improve chemical equation parsing in Rhea fetcher
JR-1991 Jul 29, 2025
265a3ec
Refactor PEtab file path creation in to_petab
JR-1991 Jul 29, 2025
e8ef5e0
Remove unused Parameter import and function
JR-1991 Jul 29, 2025
70711fb
Add 'show' option to plot function
JR-1991 Jul 29, 2025
8e1b606
Add EnzymeML document pretty printing utilities
JR-1991 Jul 29, 2025
0cd51e1
Add backwards compatibility section to README
JR-1991 Jul 29, 2025
280c42e
Add new Python dependencies to unit test workflow
JR-1991 Jul 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .github/workflows/build.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Ruff
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
src: "./pyenzyme"
- uses: chartboost/ruff-action@v1
with:
src: "./tests"
36 changes: 0 additions & 36 deletions .github/workflows/python-publish.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/stale.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Unit Tests

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install pytest-cov openpyxl pytest-httpx pysces lmfit seaborn numexpr python-libcombine deepdiff
pip3 install -e .

- name: Test with pytest
run: |
python3 -m pytest -v
13 changes: 11 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,24 @@ dmypy.json
# Pyre type checker
.pyre/

# pyrightconfig
pyrightconfig.json

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/
pyenzyme/Examples/getJSONValid.py

# test dirs
# test dirs
tests/tmp

# PyCharm IDE
.idea/
.idea/

# Mac OS
.DS_Store

# Poetry
poetry.lock
23 changes: 0 additions & 23 deletions .readthedocs.yaml

This file was deleted.

22 changes: 8 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
FROM python:3.9
WORKDIR /app

COPY . /app
ARG PYTHON_VERSION=3.11.9
FROM python:${PYTHON_VERSION}-slim-bullseye

RUN apt-get update \
&& apt-get install -y --no-install-recommends git \
&& apt-get install -y --no-install-recommends gcc \
&& apt-get install -y --no-install-recommends cmake \
&& apt-get purge -y --auto-remove
RUN apt-get update
RUN pip install poetry

WORKDIR /app
COPY . /app

RUN pip3 install git+https://github.com/EnzymeML/PyEnzyme.git
RUN pip3 install fastapi uvicorn jinja2

COPY pyenzyme_server.py /app
RUN poetry install --with tests

CMD ["uvicorn", "pyenzyme_server:app", "--host", "0.0.0.0", "--port", "80"]
ENTRYPOINT ["poetry", "run", "pytest", "-vv"]
Loading
Loading