Francesc Alted wrote: > Hi James, > > A Monday 09 March 2009, James Amundson escrigué: > >> The attached program old.py has a working simplified example. I tried >> to modify this for PyTables 2.1 by doing >> >> ... >> atom = tables.Float64Atom(shape=(7,0)) >> earray = f.createEArray(f.root,'particles',atom,(7,0), >> filters = filter) >> ... >> > > Yeah. In PyTables 2.x series the shape of the dataset is specified just > in the leaf constructor. So, what you need is: > > atom = tables.Float64Atom() > earray = f.createEArray(f.root,'particles',atom,(7,0), > filters = filter) > Great. That does it. Thanks a million.
--Jim Amundson ------------------------------------------------------------------------------ _______________________________________________ Pytables-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pytables-users
