From: Francesc A. <fa...@ca...> - 2005-11-09 10:58:58
|
A Dissabte 05 Novembre 2005 12:39, Francesc Altet va escriure: > El dv 04 de 11 del 2005 a les 13:14 -0700, en/na Jeff Whitaker va > > escriure: > > I would expect that the default value for 'pressure' would be set to > > -999.9. However, ptdump -v shows > >.... > > Why does it say dflt=3DNone? > > Just because the default values are not saved permanently on-disk. The > user defaults are only used at creation time of the table. If you close > it and re-open for append, then the default values are lost (although > sensible values are set as the new defaults). This is a flaw in the > design that should be addressed in the future. Well, after some work, I've added support for persistent defaults in PyTables :-) It will be out for the forthcoming PyTables 1.2 release. Meanwhile, you can test it by donwloading the 1.2rc2 version available in: http://www.carabos.com/downloads/pytables/preliminary/pytables-1.2-rc2.tar.= gz Cheers, =2D-=20 >0,0< Francesc Altet =A0 =A0 http://www.carabos.com/ V V C=E1rabos Coop. V. =A0=A0Enjoy Data "-" |