From 4d9de5752e6f9d5743eb1f0019ac053ff0579fa4 Mon Sep 17 00:00:00 2001 From: AlberteSloth <158040192+AlberteSloth@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:09:33 +0100 Subject: [PATCH] Fixed pre-commit --- README.md | 4 ++-- docs/getting_started.md | 10 +++++----- tests/test_sbml.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0dba542..6e8b842 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,6 @@ libsbml_model = load_libsbml_model_from_url(url) model = sbml_to_enzax(libsbml_model) ``` -> [!NOTE] +> [!NOTE] > The parameters in the sbml file have to have unique identifiers. -> In CopasiUI it is possible to make Global Quantities as assignments and odes. Enzax currently does not support this. \ No newline at end of file +> In CopasiUI it is possible to make Global Quantities as assignments and odes. Enzax currently does not support this. diff --git a/docs/getting_started.md b/docs/getting_started.md index a787939..a466b17 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -152,6 +152,11 @@ libsbml_model = load_libsbml_model_from_url(url) model = sbml_to_enzax(libsbml_model) ``` +!!! note + + The parameters in the sbml file have to have unique identifiers. + In CopasiUI it is possible to make Global Quantities as assignments and odes. Enzax currently does not support this. + ## Find a kinetic model's steady state Enzax provides a few example kinetic models, including [`methionine`](https://github.com/dtu-qmcm/enzax/blob/main/src/enzax/examples/methionine.py), a model of the mammalian methionine cycle. @@ -184,8 +189,3 @@ def get_steady_state_from_params(parameters: PyTree): jacobian = jax.jacrev(get_steady_state_from_params)(model.parameters) ``` - -!!! note - - The parameters in the sbml file have to have unique identifiers. - In CopasiUI it is possible to make Global Quantities as assignments and odes. Enzax currently does not support this. \ No newline at end of file diff --git a/tests/test_sbml.py b/tests/test_sbml.py index ae25c15..bad546f 100644 --- a/tests/test_sbml.py +++ b/tests/test_sbml.py @@ -23,7 +23,7 @@ def test_load_libsbml_model(file_path): [ ( exampleode_file, - jnp.array([0.3230166, 3.02209784]), + jnp.array([0.3230166, 3.02209784]), jnp.array([0.01, 0.01]), ), ],