[hdf5container] fix for empty array
This commit is contained in:
@@ -356,6 +356,9 @@ class HDF5Container(BaseProcessor):
|
||||
else:
|
||||
self._save_data(name_full + "/" + key, data[key], "", unit)
|
||||
else:
|
||||
if len(data) == 0:
|
||||
return
|
||||
|
||||
self.save.create_array(
|
||||
os.path.dirname(name_full),
|
||||
os.path.basename(name_full),
|
||||
|
||||
Reference in New Issue
Block a user