diff --git a/antareslauncher/study_dto.py b/antareslauncher/study_dto.py index 38deeb0..65fdf93 100644 --- a/antareslauncher/study_dto.py +++ b/antareslauncher/study_dto.py @@ -59,4 +59,5 @@ def from_dict(cls, doc: t.Mapping[str, t.Any]) -> "StudyDTO": """ attrs = dict(**doc) attrs.pop("name", None) # calculated + attrs["antares_version"] = StudyVersion.parse(attrs["antares_version"]) return cls(**attrs)