File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ def _get_con_table_properties(h5_file, device_name):
124
124
125
125
# Compare with the name in the connection table
126
126
# whether it is np.bytes_ or vlenstr:
127
- namecol_dtype = dataset ['name' ]. dtype
127
+ namecol_dtype = dataset . dtype ['name' ]
128
128
if namecol_dtype .type is np .bytes_ :
129
129
device_name = device_name .encode ('utf8' )
130
130
elif namecol_dtype is h5py .special_dtype (vlen = str ):
@@ -143,7 +143,7 @@ def _get_unit_conversion_parameters(h5_file, device_name):
143
143
144
144
# Compare with the name in the connection table
145
145
# whether it is np.bytes_ or vlenstr:
146
- namecol_dtype = dataset ['name' ]. dtype
146
+ namecol_dtype = dataset . dtype ['name' ]
147
147
if namecol_dtype .type is np .bytes_ :
148
148
device_name = device_name .encode ('utf8' )
149
149
elif namecol_dtype is h5py .special_dtype (vlen = str ):
You can’t perform that action at this time.
0 commit comments