Hi list,

I'm trying to model a high-energy physics event in pytables and have been
reasonably successful so far.
However, I just changed the structure of my nested tables, and now I can't
access the columns by name anymore.
I try the following:

from tables import openFile
fh = openFile('bug.h5')
x = fh.root.bug[0]
print x['Baryon1']
print x['Baryon1/Gamma'] # doesn't work
y = x['Baryon1']
print y['Gamma'] # works

I find this very, very strange, and would appreciate comments/suggestion.
Regards,
   Jan

Attachment: bug.h5
Description: Binary data

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to