mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
fix possible null return in StringDataRecord
This commit is contained in:
parent
e133129843
commit
bec9280b66
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ class StringDataRecord(AbstractDataRecord):
|
|||
else:
|
||||
from pypies.impl.H5pyDataStore import vlen_str_type as dtype
|
||||
#dtype.set_strpad(h5t.STR_NULLTERM)
|
||||
numpyData = numpy.asarray(self.getStringData(), dtype)
|
||||
return numpyData
|
||||
return numpy.asarray(self.getStringData(), dtype)
|
||||
return self.numpyData
|
||||
|
||||
def putDataObject(self, obj):
|
||||
self.setStringData(obj)
|
||||
|
|
Loading…
Add table
Reference in a new issue