Skip to content

Commit

Permalink
Merge pull request #90 from decarlof/master
Browse files Browse the repository at this point in the history
fixed error
  • Loading branch information
decarlof committed Jun 1, 2020
2 parents 0e4fb71 + 631b1ce commit 732780b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dxchange/reader.py
Expand Up @@ -669,7 +669,7 @@ def read_hdf5_item_structure(meta, fp, file_name, offset=' ', label1='/measur
s = fp.name.split('/')
name = s[-1].replace('-', '_')

value = dxreader.read_hdf5(file_name, fp.name)[0]
value = read_hdf5(file_name, fp.name)[0]
if (value.dtype.kind == 'S'):
value = value.decode(encoding="utf-8")
meta.update( {name : value} )
Expand Down

0 comments on commit 732780b

Please sign in to comment.