[I'm forwarding this message that the list has rebounded (sending from 
unsubscribed address?)]

---------------------------------------------------------------------------------------------
From: "Alain Fagot" <[EMAIL PROTECTED]>
To: pytables-users@lists.sourceforge.net
Date: Today 17:37:29

Hi, 

I don't succeed to find the way how to change a value in a nested table.

I tried something like the following code but it returns an error at run
time:

            table.cols.info1.name[2] = 'CHANGED_STRING'

Traceback (most recent call last):
  File
"C:\Devt\TAS_HDF5_CCN2\PyExpress-Package\TRY_CCN2\Test_nested\nested-tut_
AF.py", line 68, in ?
    table.cols.info1.name[2] = 'CHANGED_STRING'
  File "C:\Nika\Tools\Python24\Lib\site-packages\tables\table.py", line
2885, in
 __setitem__
    [[value]], names=[self.pathname])
  File "C:\Nika\Tools\Python24\Lib\site-packages\tables\table.py", line
1964, in
 modifyColumns
    mod_recarr[name] = recarray[name]

ValueError: field named name not found.

Hi attached the little program to the email.

Kind Regards,

            Alain

Attachment: nested-tut_AF.py
Description: application/python

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to