From: Francesc A. <fa...@ca...> - 2005-10-03 15:11:21
|
A Dilluns 03 Octubre 2005 08:31, Cournapeau David va escriure: > Anyway, as the Flavor attribute does not exist, it is set to Unknown, > and the the Atom function call fails in VLArray.py:VLArray._g_open. > (specifically the checkflavor call in the Atom.__init__ fails). Yes, you discovered a flaw in implementation. > But this means the first call, even if unsuccessfull, manages to read > the vlen array in the file. (the data given back by the second call are > correct). So I tried the following hack (in the file VLArray.py, > function _g_open of the class VLArray): [snipped] > Then, it works in my case. As I don't know much yet about pytable, > I don't know what is the correct way achieve the same result. Great, this looks like a good workaround. BTW, Ivan has recently implemented a new module to test compatibility with pure HDF5 files. Can you send us your file for inclusion in tests, please? That way, new modifications will always check your file. > Concerning the case where the dimensions are fixed, I Unfortunately > don't have the time right now to investigate it. Please, send me a sample of this too. I'll see what I can do. Cheers, =2D-=20 >0,0< Francesc Altet =A0 =A0 http://www.carabos.com/ V V C=E1rabos Coop. V. =A0=A0Enjoy Data "-" |