diff --git a/src/aixd_ara/shallow_objects.py b/src/aixd_ara/shallow_objects.py index 103f1d6..51ff2ad 100644 --- a/src/aixd_ara/shallow_objects.py +++ b/src/aixd_ara/shallow_objects.py @@ -29,7 +29,7 @@ def DataInt_from_shallow(shallow_dobj): return DataInt( name=shallow_dobj["name"], dim=shallow_dobj["dim"], - domain=Options(shallow_dobj["domain"]) if shallow_dobj["domain"] else None, + domain=Interval(*shallow_dobj["domain"]) if shallow_dobj["domain"] else None, )