A Thursday 11 March 2010 10:17:07 Francesc Alted escrigué: > [This seems the week that people don't remember to subscribe before to > write ;-)] > > --------------------------------------------------------------------------- > --- De: Erik Schweller <othere...@gmail.com> > A: pytables-users@lists.sourceforge.net > Data: Ahir 21:33:29 > > Hello all, > > I have two questions to confirm that I am indeed getting what is expected. > > >From the documentation I understand the attribute "EXTDIM" > > defines the extend-able dimension. I expected to see values of 0, 1, > 2.. but instead > these values look like references? What exactly is the value say > "963" from my example below? > > Also, the documentation says that the "VERSION" attribute should be > set to '1.3' for > EARRAYs, but I'm getting '1.0' by default. > > >>> from tables import openFile, Int32Atom > >>> f = openFile( 'bob.h5', mode = 'w', title = 'test' ) > >>> f.createGroup( '/', 'yea', 'yea group' ) > > /yea (Group) 'yea group' > children := [] > > >>> b = f.createEArray( '/yea', 'bob2', Int32Atom(), ( 5, 0, 5 ) ) > >>> b.attrs > > /yea/bob2._v_attrs (AttributeSet), 4 attributes: > [CLASS := 'EARRAY', > EXTDIM := 963, > TITLE := '', > VERSION := '1.0'] > > >>> f.close()
This is a bug that should be fixed now: http://www.pytables.org/trac/ticket/268 Thanks for reporting! -- Francesc Alted ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users