File tree Expand file tree Collapse file tree 4 files changed +24
-4
lines changed
Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 33
44## 0.8 series
55
6+ ### 0.8.2
7+
8+ ** Fixes**
9+ * We now support pandas>=3.0
10+ (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/471 )
11+ * Updated to the latest PEtab v2 schema
12+ (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/470 )
13+ * Fixed some warnings
14+ (by @dweindl in https://github.com/PEtab-dev/libpetab-python/pull/475 )
15+
16+ ** Full Changelog** : https://github.com/PEtab-dev/libpetab-python/compare/v0.8.1...v0.8.2
17+
618### 0.8.1
719
820The only change in this release is requiring pandas<3 until we support
Original file line number Diff line number Diff line change @@ -26,7 +26,15 @@ def __getattr__(name):
2626 return importlib .import_module ("petab.v1" )
2727 if name == "v2" :
2828 return importlib .import_module ("petab.v2" )
29- if name not in ("__path__" , "__all__" , "__wrapped__" ):
29+ if name not in (
30+ "__path__" ,
31+ "__all__" ,
32+ "__wrapped__" ,
33+ # accessed under pytest
34+ "_pytestfixturefunction" ,
35+ "__test__" ,
36+ "__bases__" ,
37+ ):
3038 warn (
3139 f"Accessing `petab.{ name } ` is deprecated and will be removed in "
3240 f"the next major release. Please use `petab.v1.{ name } ` instead." ,
Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ def update_prior(row):
494494 if new_prior_type == "log10-normal" :
495495 warnings .warn (
496496 f"Prior distribution `{ new_prior_type } ' for parameter "
497- f"`{ row . name } ' is not supported in PEtab v2. "
497+ f"`{ row [ v1 . C . PARAMETER_ID ] } ' is not supported in PEtab v2. "
498498 "Using `log-normal` instead." ,
499499 # call to `petab1to2`
500500 stacklevel = 9 ,
@@ -504,7 +504,7 @@ def update_prior(row):
504504 if new_prior_type not in v2 .C .PRIOR_DISTRIBUTIONS :
505505 raise NotImplementedError (
506506 f"PEtab v2 does not support prior type `{ new_prior_type } ' "
507- f"required for parameter `{ row . name } '."
507+ f"required for parameter `{ row [ v1 . C . PARAMETER_ID ] } '."
508508 )
509509
510510 return new_prior_type
Original file line number Diff line number Diff line change 11"""PEtab library version"""
22
3- __version__ = "0.8.1 "
3+ __version__ = "0.8.2 "
You can’t perform that action at this time.
0 commit comments