From eb08b26bb56e8fe42d0d3bf28601a11acd0e5421 Mon Sep 17 00:00:00 2001
From: Fabian Wachsmann <k204210@l40030.lvt.dkrz.de>
Date: Fri, 13 Jan 2023 17:27:49 +0100
Subject: [PATCH] debugged prov

---
 tzis/tzis.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tzis/tzis.py b/tzis/tzis.py
index c00727d..c46f713 100644
--- a/tzis/tzis.py
+++ b/tzis/tzis.py
@@ -792,7 +792,7 @@ class write_zarr(fsspec.FSMap):
                 else:
                     first_attr = list(self.mf_dset.attrs.keys())[0]
                     self.provenance.gen_input(
-                        f"input_{first_attr}", self.mf_dset.attrs[first_attr]
+                        f"input_{first_attr}", [str(self.mf_dset.attrs[first_attr])]
                     )
             elif self.verbose:
                 print("Cannot create input provenance because no attrs given.")
-- 
GitLab