Skip to content

Instantly share code, notes, and snippets.

@gidden
Created June 13, 2014 17:13
Show Gist options
  • Save gidden/54ca4f9f41a4060ebec9 to your computer and use it in GitHub Desktop.
Save gidden/54ca4f9f41a4060ebec9 to your computer and use it in GitHub Desktop.
pytables failure on void col dtype
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)
@gidden
Copy link
Author

gidden commented Jun 13, 2014

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