Skip to content

Commit

Permalink
set temp unit and value optional
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Sep 24, 2024
1 parent 4efc6d1 commit a0282d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyenzyme/sbml/versions/v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ class TemperatureAnnot(
unit (str): The unit of the temperature value.
"""

value: float = attr(name="value")
unit: str = attr(name="unit")
value: float | None = attr(name="value", default=None)
unit: str | None = attr(name="unit", default=None)


class ParameterAnnot(
Expand Down

0 comments on commit a0282d4

Please sign in to comment.