Skip to content

Commit 3fc55a9

Browse files
committed
merge develop
2 parents cb663c4 + 9d2879f commit 3fc55a9

File tree

122 files changed

+15536
-9064
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+15536
-9064
lines changed

.github/workflows/ci_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Check out repository
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Prepare python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

@@ -31,7 +31,7 @@ jobs:
3131
shell: bash
3232

3333
- name: Cache
34-
uses: actions/cache@v3
34+
uses: actions/cache@v4
3535
with:
3636
path: ${{ steps.pip_cache_dir.outputs.dir }}
3737
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/.ci_pip_reqs.txt') }}-${{ hashFiles('**/setup.py') }}
@@ -51,7 +51,7 @@ jobs:
5151
run: tox -e unit
5252

5353
- name: Coverage
54-
uses: codecov/codecov-action@v3
54+
uses: codecov/codecov-action@v4
5555
with:
5656
token: ${{ secrets.CODECOV_TOKEN }}
5757
file: ./coverage.xml

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515

1616
steps:
1717
- name: Check out repository
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
- name: Set up python
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: 3.11
2323

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2
55

66
sphinx:
77
configuration: doc/conf.py
8-
fail_on_warning: true
8+
fail_on_warning: false
99

1010
build:
1111
os: "ubuntu-22.04"

CHANGELOG.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,71 @@
11
# PEtab changelog
22

3+
## 0.4 series
4+
5+
### 0.4.0
6+
7+
**Prepare for PEtab v2**
8+
9+
To enable ongoing support for PEtab v1, while "forking" the v1 code for PEtab v2, the old code base is now available at `petab.v1`, and the new code base will be at `petab.v2`. For now, old `import petab.*` statements still work, but are marked as deprecated, and `import petab.v1.*` should be used instead. `petablint` will be designed for use with only full PEtab problems in future too, rather than individual tables -- partial problems will be supported to validate individual tables.
10+
11+
* Add PEtab math parser and sympy converter by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/260
12+
* Deprecate petablint with individual tables by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/274
13+
* Introduce petab.v1 package by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/282
14+
* Separate v1 and v2 tests by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/284
15+
* Add petab.v2.Problem by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/285
16+
* PEtab v1 to v2 converter by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/281
17+
* Fix imports related to v1 subpackage by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/293
18+
19+
**Validation**
20+
21+
Validation will become increasingly atomic and OOP, to support extension-specific validation in PEtab v2.
22+
23+
* Validator: check for positive bounds for log-scaled parameter by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/278
24+
* Validator: check prior parameters by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/279
25+
* Fix validation for remote files by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/287
26+
* New validation API by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/288
27+
28+
**Documentation**
29+
30+
* Fixed formatting / missing type annotations by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/292
31+
* Added versioning and deprecation policy by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/277
32+
33+
**Other changes**
34+
35+
* Simplify yaml schema by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/264
36+
* Handle numpy types in sympify_petab by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/294
37+
* New `get_path_prefix` method to get the base path for relative paths in PEtab problem YAML by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/280
38+
39+
**New Contributors**
40+
41+
* @dependabot made their first contribution in https://github.com/PEtab-dev/libpetab-python/pull/267
42+
43+
**Full Changelog**: https://github.com/PEtab-dev/libpetab-python/compare/v0.3.0...v0.4.0
44+
45+
## 0.3 series
46+
47+
### 0.3.0
48+
49+
**This release requires `python>=3.10`**
50+
51+
**Features**
52+
* Visualization: Make line plot lines configurable via
53+
`petab.visualize.plotter.measurement_line_kwargs and
54+
`petab.visualize.plotter.simulation_line_kwargs`
55+
by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/254
56+
* Validator: check that `datasetId`s referenced in visualization tables exists
57+
in measurement tables
58+
by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/255
59+
60+
**Fixes**
61+
* Drop an index if it's reset
62+
by @dilpath in https://github.com/PEtab-dev/libpetab-python/pull/262
63+
64+
## New Contributors
65+
* @PaulJonasJost made their first contribution in https://github.com/PEtab-dev/libpetab-python/pull/250
66+
67+
**Full Changelog**: https://github.com/PEtab-dev/libpetab-python/compare/v0.2.9...v0.3.0
68+
369
## 0.2 series
470

571
### 0.2.9

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
recursive-include petab/schemas *.yaml
2-
recursive-include petab/visualize/templates *
2+
recursive-include petab/v1/visualize/templates *
3+
recursive-exclude tests *

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ be:
3939
entrypoints to be available as a shell command from anywhere, called
4040
`petablint`
4141

42-
- [`petab.create_parameter_df`](https://petab.readthedocs.io/projects/libpetab-python/en/latest/build/_autosummary/petab.parameters.html#petab.parameters.create_parameter_df)
42+
- [petab.create_parameter_df](https://petab.readthedocs.io/projects/libpetab-python/en/latest/build/_autosummary/petab.parameters.html#petab.parameters.create_parameter_df)
4343
to create the parameter table, once you have set up the model,
4444
condition table, observable table and measurement table
4545

46-
- [`petab.create_combine_archive`](https://petab.readthedocs.io/projects/libpetab-python/en/latest/build/_autosummary/petab.core.html#petab.core.create_combine_archive)
46+
- [petab.create_combine_archive](https://petab.readthedocs.io/projects/libpetab-python/en/latest/build/_autosummary/petab.core.html#petab.core.create_combine_archive)
4747
to create a [COMBINE Archive](https://combinearchive.org/index/) from PEtab
4848
files
4949

doc/development.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Development
2+
===========
3+
4+
Versioning
5+
----------
6+
7+
We use `Semantic Versioning <http://semver.org/>`_ with the modifications
8+
described under :ref:`deprecation_policy`.
9+
10+
.. _deprecation_policy:
11+
12+
Deprecation policy
13+
------------------
14+
15+
petab aims to provide a stable API for users. However, not all features can be
16+
maintained indefinitely. We will deprecate features in minor releases and
17+
where possible, issue a warning when they are used. We will keep deprecated
18+
features for at least six months after the release that includes the
19+
respective deprecation warning and then remove them earliest in the next minor
20+
or major release. If a deprecated feature is the source of a major bug, we may
21+
remove it earlier.
22+
23+
Python compatibility
24+
--------------------
25+
26+
We follow `numpy's Python support policy <https://numpy.org/neps/nep-0029-deprecation_policy.html>`_.

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
Changelog <CHANGELOG.md>
1515
how_to_cite
1616
license
17+
development
1718

1819
.. toctree::
1920
:maxdepth: 2

doc/modules.rst

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
11
API Reference
22
=============
33

4-
.. automodule:: petab
5-
64
.. rubric:: Modules
75

86
.. autosummary::
97
:toctree: build/_autosummary
108
:recursive:
119

12-
petab.C
13-
petab.calculate
14-
petab.composite_problem
15-
petab.conditions
16-
petab.core
17-
petab.lint
18-
petab.measurements
19-
petab.observables
20-
petab.parameter_mapping
21-
petab.parameters
22-
petab.problem
23-
petab.sampling
24-
petab.sbml
25-
petab.simulate
26-
petab.simplify
27-
petab.visualize
28-
petab.yaml
10+
petab
11+
petab.v1
12+
petab.v1.C
13+
petab.v1.calculate
14+
petab.v1.composite_problem
15+
petab.v1.conditions
16+
petab.v1.core
17+
petab.v1.lint
18+
petab.v1.measurements
19+
petab.v1.models
20+
petab.v1.observables
21+
petab.v1.parameter_mapping
22+
petab.v1.parameters
23+
petab.v1.problem
24+
petab.v1.sampling
25+
petab.v1.sbml
26+
petab.v1.simulate
27+
petab.v1.simplify
28+
petab.v1.visualize
29+
petab.v1.yaml
30+
petab.v2
31+
petab.v2.lint
32+
petab.v2.problem

0 commit comments

Comments
 (0)