Re: [Pytables-users] keyerror in presence of multiple tables

2012-03-14 Thread sreeaurovindh viswanathan
I am a newbie to Pytables and thanks a lot for pointing out the problem! Regards Sree aurovindh V On Wed, Mar 14, 2012 at 10:24 PM, Anthony Scopatz wrote: > Hello Sreeaurovindh, > > The problem is not with PyTables, but rather that you have a bug in the > code. > You assign table to be the adSu

Re: [Pytables-users] keyerror in presence of multiple tables

2012-03-14 Thread Anthony Scopatz
Hello Sreeaurovindh, The problem is not with PyTables, but rather that you have a bug in the code. You assign table to be the adSuggester table and then try to access queryToken attributes / columns. This line: queryToken=table.row should really be: queryToken=queryTable.row Be Well Anthony

[Pytables-users] keyerror in presence of multiple tables

2012-03-14 Thread sreeaurovindh viswanathan
Hi, I have the following tables in my python code.When i try to access the adSuggester['trId'] it works but whereas when i try to use queryToken['qId'] it throws me an keyerror.However this is strange because this key exists in the definition of the table.Please help me to resolve this issue. Than