File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ def __init__(
215
215
# remove the trailing slash on endpoint if it exists
216
216
if endpoint .endswith ('/' ):
217
217
endpoint = endpoint .strip ('/' )
218
-
218
+
219
219
if username is None :
220
220
if "H5SERV_USERNAME" in os .environ :
221
221
username = os .environ ["H5SERV_USERNAME" ]
Original file line number Diff line number Diff line change @@ -142,7 +142,6 @@ def special_dtype(**kwds):
142
142
name , val = kwds .popitem ()
143
143
144
144
if name == 'vlen' :
145
-
146
145
return np .dtype ('O' , metadata = {'vlen' : val })
147
146
148
147
if name == 'enum' :
@@ -441,6 +440,10 @@ def getTypeItem(dt):
441
440
type_info ['length' ] = 'H5T_VARIABLE'
442
441
type_info ['charSet' ] = 'H5T_CSET_UTF8'
443
442
type_info ['strPad' ] = 'H5T_STR_NULLTERM'
443
+ elif vlen_check == np .int32 :
444
+ type_info ['class' ] = 'H5T_VLEN'
445
+ type_info ['size' ] = 'H5T_VARIABLE'
446
+ type_info ['base' ] = 'H5T_STD_I32'
444
447
elif vlen_check in (int , np .int64 ):
445
448
type_info ['class' ] = 'H5T_VLEN'
446
449
type_info ['size' ] = 'H5T_VARIABLE'
You can’t perform that action at this time.
0 commit comments