From 1ee9ee3f98a7719e793100af714d441570ab47c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6nig?= Date: Thu, 4 Apr 2024 11:56:32 +0200 Subject: [PATCH] deprecation fix dimensions --- src/sbmlsim/result/xresult.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbmlsim/result/xresult.py b/src/sbmlsim/result/xresult.py index 4a6e95a0..96674e97 100644 --- a/src/sbmlsim/result/xresult.py +++ b/src/sbmlsim/result/xresult.py @@ -162,7 +162,7 @@ def is_timecourse(self) -> bool: if dim == "_time": continue else: - if xds.dims[dim] != 1: + if xds.sizes[dim] != 1: is_tc = False else: return False