From e1d1d3474eb2cd4c8539324c9c887f2513cf4ebb Mon Sep 17 00:00:00 2001 From: Zhichao Zhang <zhichao.zhang@stud.tu-darmstadt.de> Date: Wed, 7 Sep 2022 20:40:50 +0200 Subject: [PATCH] correct typo on store function --- pykkn/storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pykkn/storage.py b/pykkn/storage.py index cadeedd..fd3cd80 100644 --- a/pykkn/storage.py +++ b/pykkn/storage.py @@ -43,7 +43,7 @@ class Storage: # def is_overwritable(self): # return self.storage_path.exists() - def store_HDF5(self, root=h5py.File): + def store_HDF5(self, root=None): '''sub-method of store() for HDF5 output Parameters @@ -103,7 +103,7 @@ class Storage: for i in eval(attr): i.store_HDF5(root=s_grp) - def store_json(self, root=dict): + def store_json(self, root=None): '''sub-method of store() for JSON output Parameters -- GitLab