Skip to content

Commit a0282d4

Browse files
committed
set temp unit and value optional
1 parent 4efc6d1 commit a0282d4

File tree

1 file changed

+2
-2
lines changed
  • pyenzyme/sbml/versions

1 file changed

+2
-2
lines changed

pyenzyme/sbml/versions/v2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ class TemperatureAnnot(
308308
unit (str): The unit of the temperature value.
309309
"""
310310

311-
value: float = attr(name="value")
312-
unit: str = attr(name="unit")
311+
value: float | None = attr(name="value", default=None)
312+
unit: str | None = attr(name="unit", default=None)
313313

314314

315315
class ParameterAnnot(

0 commit comments

Comments
 (0)