From: Francesc A. <fa...@ca...> - 2005-01-12 13:20:09
|
A Dimecres 12 Gener 2005 13:11, kevin lester va escriure: > I'm having problems with the zlib,lzo,ucl compression > libraries being available to pyTables. I planted the > .dlls in the /WINDOWS/SYSTEM folder and have > PYTHONPATH directed there as mentioned in the > installation instructions. Well, that seems good. What kind of problems are you having? > I included the code below for the declaritve. The > .createIndex() version was just as was shown in 6.22 > of the tutorial=20 >=20 > >>> indexrows =3D table.cols.var1.createIndex() <<< After looking at your script, I can see that you have been bitten by a known bug, that prevents to name a column with a name that contains another column name as a substring. While I release a pytables version with a cure to this, you may try the next column declaration that is free of this problem: class ES(IsDescription): H1 =3D Int8Col(indexed=3D1) M1 =3D Int8Col(indexed=3D1) S1 =3D Int8Col(indexed=3D1) BS =3D Int16Col(indexed=3D1) BP =3D Float32Col(indexed=3D1) AP =3D Float32Col(indexed=3D1) AS =3D Int16Col(indexed=3D1) L1 =3D Float32Col(indexed=3D1) V1 =3D Int16Col(indexed=3D1) A1 =3D Int8Col(indexed=3D1) UD =3D BoolCol(indexed=3D1) TV =3D Int64Col(indexed=3D1) DT =3D Float32Col(indexed=3D1) HI =3D Float32Col(indexed=3D1) LO =3D Float32Col(indexed=3D1) Cheers, =2D-=20 =46rancesc Altet =A0 >qo< =A0 http://www.carabos.com/ C=E1rabos Coop. V. =A0 V =A0V =A0 Enjoy Data =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "" |