Skip to content

Commit

Permalink
fix for pytables 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Newman authored and Jeffrey Newman committed Dec 15, 2016
1 parent f914719 commit f57b49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/dt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2404,7 +2404,7 @@ def new_idco_from_array(self, name, arr, *, overwrite=False, original_source=Non
try:
self.h5f.create_carray(self.idco._v_node, name, obj=arr)
except ValueError as valerr:
if "unknown type" in str(valerr):
if "unknown type" in str(valerr) or "unknown kind" in str(valerr): # changed for pytables 3.3
try:
tb_atom = _tb.Atom.from_dtype(arr.dtype)
except ValueError:
Expand Down

0 comments on commit f57b49f

Please sign in to comment.