From: Francesc A. <fa...@ca...> - 2005-09-19 09:23:08
|
El dv 16 de 09 del 2005 a les 20:22 -0400, en/na travlr va escriure: > Here is the diff patch for pytables-1.1.1 Thanks. I'll see to integrate it shortly. > BTW... Numeric question if someone knows.. > >>> isinstance(arr, array) > Traceback (most recent call last): > File "<input>", line 1, in ? > NameError: name 'array' is not defined >=20 > >>> isinstance(arr, type(Numeric.array([]))) > True >=20 > Why is type(arr) reported as 'array', and yet isinstance() doesn't recogn= ize it? The next seems to work: In [7]:arr=3DNumeric.arange(2) In [8]:isinstance(arr, Numeric.ArrayType) Out[8]:True I'll have to update PyTables accordingly ;-) Cheers, --=20 >0,0< Francesc Altet http://www.carabos.com/ V V C=E1rabos Coop. V. Enjoy Data "-" |