Hi all, I think I am still thinking in terms of relational databases and MySQL... but now I would like to add a column to an existing HDF5 table... I tried something like the following:
h5file.setNodeAttr(group,'cancelled',Int32Col(),name='Pdata') where 'group' is a groupNode of the table I want to alter and 'Pdata' is the corresponding table to which I would like to add the attribute (column name ) 'cancelled' and with the type Int32.... This doesn't throw an error, but doesn't work either. I also tried: h5file.setNodeAttr(pnode,'cancelled',Int32Col() where pnode is the actual node (table) I am trying to alter... but that had no effect either I was pretty sure this wasn't the correct method to use here, but failed to find anything else! Which is the best way to do this? I have tried looking through the tutorial / help, but have obviously not used the correct search terms. Any ideas? thanks very much Toby ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users