Hi, the following program fails:

import tables

class Info2D(tables.IsDescription):
   colA = tables.Int32Col(pos=0)
   colB = tables.Int32Col(pos=1)

h5file = tables.openFile('test.h5',mode='w')
group = h5file.createGroup( h5file.root, 'group' )

print getattr( h5file.root, 'group' )
delattr( h5file.root, 'group' )

The exact output is:

/group (Group) ''
Traceback (most recent call last):
 File "test_del_group.py", line 11, in ?
   delattr( h5file.root, 'group' )
File "build/bdist.linux-i686/egg/tables/Group.py", line 794, in __delattr__
AttributeError: group
Closing remaining opened files...  test.h5... done.

This occurs with both pytables 1.3 and the svn trunk current as of now.

Cheers!
Andrew


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to