Skip to content

Commit 03060cc

Browse files
committed
..
1 parent 644b058 commit 03060cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

petab/v2/core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,9 @@ def _validate_id(cls, v):
909909
def _validate_prior_parameters(
910910
cls, v: str | list[str] | float | None | np.ndarray
911911
):
912+
if v is None:
913+
return []
914+
912915
if isinstance(v, float) and np.isnan(v):
913916
return []
914917

0 commit comments

Comments
 (0)