From a0282d4643fea3126413b8fe14969d98ce98108e Mon Sep 17 00:00:00 2001 From: Jan Range Date: Tue, 24 Sep 2024 13:45:55 +0200 Subject: [PATCH] set temp unit and value optional --- pyenzyme/sbml/versions/v2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyenzyme/sbml/versions/v2.py b/pyenzyme/sbml/versions/v2.py index bd180d4..ce82bfc 100644 --- a/pyenzyme/sbml/versions/v2.py +++ b/pyenzyme/sbml/versions/v2.py @@ -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(