Re: [Pytables-users] modifyRows() error

2010-12-16 Thread Andrey Sobolev
Many thanks for quick help! I've just tried both options. Both works fine. Thanks! Andrey 2010/12/16 Francesc Alted > A Thursday 16 December 2010 11:07:26 Andrey Sobolev escrigué: > > Hi, > > > > it seems that modifyRows() method does not work. When I try to modify > > a row I get an error:

Re: [Pytables-users] modifyRows() error

2010-12-16 Thread Francesc Alted
A Thursday 16 December 2010 11:07:26 Andrey Sobolev escrigué: > Hi, > > it seems that modifyRows() method does not work. When I try to modify > a row I get an error: > > Object cannot be converted into a recarray object compliant with > table format '[('ADCcount', '()u2'), ('TDCcount', '()u1'), >

[Pytables-users] modifyRows() error

2010-12-16 Thread Andrey Sobolev
Hi, it seems that modifyRows() method does not work. When I try to modify a row I get an error: Object cannot be converted into a recarray object compliant with table format '[('ADCcount', '()u2'), ('TDCcount', '()u1'), ('energy', '()f8'), ('grid_i', '()i4'), ('grid_j', '()i4'), ('idnumber', '()i