From d0160316705e073a3e5ff7f294f3873a64a87842 Mon Sep 17 00:00:00 2001 From: mickey-tsai <126633857+mickey-tsai@users.noreply.github.com> Date: Thu, 6 Jun 2024 17:58:48 +0800 Subject: [PATCH] fix the key of __transient_vector the key should be per not d --- flopy/export/vtk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flopy/export/vtk.py b/flopy/export/vtk.py index 07024a5b8b..96703dc678 100644 --- a/flopy/export/vtk.py +++ b/flopy/export/vtk.py @@ -1489,7 +1489,7 @@ def write(self, f: Union[str, os.PathLike], kper=None): self.add_array(array, name) if per in self.__transient_vector: - d = self.__transient_vector[d] + d = self.__transient_vector[per] for name, vector in d.items(): self.add_vector(vector, name)