Created
June 13, 2014 17:13
-
-
Save gidden/54ca4f9f41a4060ebec9 to your computer and use it in GitHub Desktop.
pytables failure on void col dtype
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import tables as t | |
| import uuid | |
| id = uuid.uuid4() | |
| h5file = t.open_file(".tmp{0}".format(id), mode='w',) | |
| dtype = np.dtype([('id', (np.void, 16))]) | |
| h5file.create_table(h5file.root, "hi", dtype) |
Author
Author
looks like void isn't a valid hdf5 type
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fails with