Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 86d1517

Browse files
author
LAKESIDE\LindaT18
committed
fix pkl memmap display
1 parent 47be376 commit 86d1517

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PythonGUI_apps/H5_Pkl/pkl_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def traverse_dict(self, dictionary, previous_dict, level):
8080
self.traverse_dict(dictionary[key], previous_dict, level)
8181
else:
8282
value = dictionary[key]
83-
if type(value) == np.ndarray:
83+
if type(value) == np.ndarray or type(value)==np.memmap:
8484
value = str(value.shape) + " " + str(value.dtype)
8585
# if type(value) == list and len(value) > 5: ##account for data stored in lists
8686
# value = str(np.asarray(value).shape) + " " + str(type(value[0]))

0 commit comments

Comments
 (0)