Skip to content

Commit 79be825

Browse files
authored
Merge pull request #87 from EnzymeML/basico-v2-support
Basico v2 support
2 parents 8a29bb7 + f94585d commit 79be825

File tree

8 files changed

+1145
-18
lines changed

8 files changed

+1145
-18
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python3 -m pip install --upgrade pip
24-
python3 -m pip install pytest-cov openpyxl pytest-httpx pysces lmfit seaborn numexpr python-libcombine deepdiff deprecation
24+
python3 -m pip install pytest-cov openpyxl pytest-httpx pysces copasi-basico lmfit seaborn numexpr python-libcombine deepdiff deprecation
2525
pip3 install -e .
2626
2727
- name: Test with pytest

examples/KineticModellingCOPASI.ipynb

Lines changed: 546 additions & 0 deletions
Large diffs are not rendered by default.

pyenzyme/sbml/omex.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,7 @@ def read_sbml_omex(path: Path | str) -> tuple[TextIO, dict[str, pd.DataFrame]]:
184184

185185
meas_data[entry.location] = df
186186

187-
return open(omex.get_path(master_file.location)), meas_data
187+
return open(
188+
omex.get_path(master_file.location),
189+
encoding="utf-8",
190+
), meas_data

pyenzyme/thinlayers/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@
55
except ImportError:
66
pass
77

8-
__all__ = ["BaseThinLayer", "ThinLayerPysces"]
8+
try:
9+
from .basico import ThinLayerCopasi
10+
except ImportError:
11+
pass
12+
13+
__all__ = ["BaseThinLayer", "ThinLayerPysces", "ThinLayerCopasi"]

0 commit comments

Comments
 (0)