Skip to content

Commit 54624fe

Browse files
dweindldilpath
andauthored
Apply suggestions from code review
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
1 parent 8a40932 commit 54624fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

petab/v1/problem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ def add_parameter(
10751075
self,
10761076
id_: str,
10771077
estimate: bool | str | int = True,
1078-
nominal_value=None,
1078+
nominal_value: Number | None = None,
10791079
scale: str = None,
10801080
lb: Number = None,
10811081
ub: Number = None,

petab/v2/problem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ def add_parameter(
830830
self,
831831
id_: str,
832832
estimate: bool | str | int = True,
833-
nominal_value=None,
833+
nominal_value: Number | None = None,
834834
scale: str = None,
835835
lb: Number = None,
836836
ub: Number = None,

0 commit comments

Comments
 (0)