Skip to content

Commit ec0765a

Browse files
committed
store the omx version as bytes
When storing attributes, PyTables stores str as pickled objects, not the raw bytes. To store a simple string that non-python HDF5 implementations can recover, it needs to be written as bytes instead.
1 parent ab22d10 commit ec0765a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/openmatrix/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# GLOBAL VARIABLES -----------
1010
__version__ = '0.3.3'
11-
__omx_version__ = '0.2'
11+
__omx_version__ = b'0.2'
1212

1313
# GLOBAL FUNCTIONS -----------
1414
def open_file(filename, mode='r', title='', root_uep='/',

0 commit comments

Comments
 (0)