Skip to content

Commit

Permalink
Save a space for empty descriptions. See #4.
Browse files Browse the repository at this point in the history
  • Loading branch information
tritemio committed Jun 24, 2015
1 parent 6038338 commit c9bf11b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phconvert/hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ def dict_to_group(group, dictionary):
# Set title through property access to work around pytable issue
# under python 3 (https://github.com/PyTables/PyTables/issues/469)
node = group._f_get_child(key)
node.title = b'' # saved as binary both on py2 and py3
# Save a single space to workaround h5labview bug (see issue #4)
node.title = b' ' # saved as binary both on py2 and py3
h5file.flush()

def load_photon_hdf5(filename, strict=True):
Expand Down

0 comments on commit c9bf11b

Please sign in to comment.