|
1 | 1 | # PEtab changelog |
2 | 2 |
|
| 3 | +## 0.10 series |
| 4 | + |
| 5 | +### 0.10.0 (unreleased) |
| 6 | + |
| 7 | +**Breaking changes** |
| 8 | +* Removed the deprecated top-level aliases for `petab.v1` (deprecated since |
| 9 | + 0.4.0). Accessing `petab.<name>` or importing `petab.<module>` for anything |
| 10 | + other than `petab.v1`, `petab.v2`, `petab.ENV_NUM_THREADS` and |
| 11 | + `petab.__version__` now raises `AttributeError` / `ModuleNotFoundError`. |
| 12 | + Use `petab.v1.<name>` instead, e.g., `import petab.v1 as petab`. |
| 13 | + `import petab` no longer imports `petab.v1`. |
| 14 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/538) |
| 15 | +* `petab.v2.Parameter` has a new `name` field for the `parameterName` column, |
| 16 | + which was previously stored as an extra attribute `parameterName`. |
| 17 | + `BaseTable` subclasses now implement `_to_df` instead of `to_df`. |
| 18 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/543) |
| 19 | + |
| 20 | +**Fixes** |
| 21 | +* `get_model_for_condition` no longer turns rate-rule targets that are |
| 22 | + overridden in the condition table into constants |
| 23 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/520) |
| 24 | +* Raise a clear error for a PEtab YAML file with an empty `problems` section |
| 25 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/521) |
| 26 | +* Several fixes to the v1-to-v2 converter (`petab1to2`): keep |
| 27 | + pre-equilibration for conditions that set nothing, order placeholders by |
| 28 | + index instead of lexicographically, rescale noise and priors when |
| 29 | + converting `log10` to `log`, and fix the conversion of `logNormal`, |
| 30 | + `logLaplace` and `parameterScaleUniform` priors |
| 31 | + (by @FFroehlich in |
| 32 | + https://github.com/PEtab-dev/libpetab-python/pull/532, |
| 33 | + https://github.com/PEtab-dev/libpetab-python/pull/533, |
| 34 | + https://github.com/PEtab-dev/libpetab-python/pull/535, and |
| 35 | + https://github.com/PEtab-dev/libpetab-python/pull/536) |
| 36 | +* `petab_math_str` now produces valid PEtab math expressions for boolean |
| 37 | + operators, (in)equality, `min`/`max`, powers with negative bases, and |
| 38 | + `pi`/`e`, and prints floats without loss of precision. PEtab v2 condition |
| 39 | + and measurement tables now write expressions in PEtab syntax |
| 40 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/545) |
| 41 | +* `petab.v2.ProblemConfig.to_yaml` no longer writes empty optional entries |
| 42 | + (`condition_files`, `experiment_files`, `mapping_files`, `extensions`) |
| 43 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/547) |
| 44 | +* `to_df` no longer fails for empty v2 parameter, observable and measurement |
| 45 | + tables |
| 46 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/543) |
| 47 | +* `petab1to2` no longer writes condition tables without any |
| 48 | + condition-specific changes |
| 49 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/554) |
| 50 | +* `petab.v2.ConditionTable.from_df` no longer stores the condition ID on |
| 51 | + each `Change`, which caused renamed conditions to be written with their |
| 52 | + old ID |
| 53 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/551) |
| 54 | + |
| 55 | +**Features** |
| 56 | +* `petab1to2` and `petab_files_1to2` can skip validation via `validate=False` |
| 57 | + (by @FFroehlich in https://github.com/PEtab-dev/libpetab-python/pull/534) |
| 58 | +* Added `petab.v2.C.PROBLEM_CONFIG_REQUIRED_KEYS` and |
| 59 | + `petab.v2.C.PROBLEM_CONFIG_OPTIONAL_KEYS` |
| 60 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/547) |
| 61 | +* PEtab v2 tables can omit empty columns or columns at their default values |
| 62 | + via `to_df(columns=...)`, `to_tsv(columns=...)` and |
| 63 | + `Problem.to_files(columns=...)`, or globally via `petab.v2.set_options` and |
| 64 | + `petab.v2.option_context` |
| 65 | + (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/543) |
| 66 | + |
3 | 67 | ## 0.9 series |
4 | 68 |
|
5 | 69 | ### 0.9.0 |
|
0 commit comments