0.3.1#
Robustness improvementes.
Changed#
Enums (
ZoneType,DataType,FileType,ValueLocation,DataPacking,FileFormat,FeCellShape,FaceNeighborMode,VarStatus,Boolean,Debug) now live intecio._constantsand are importable directly from the top-levelteciopackage (tecio.ZoneType, not justtecio.libtecio.ZoneType), matching every other public class. Still re-exported fromtecio.libteciofor backward compatibility.tecio.libtecio’s C-library load/bind mechanism is now implemented as reusable, stateless functions intecio._utils(load_library,bind,requires_symbol);libtecio.pyitself is reduced to the C function wrappers and their own state (lib,LIBRARY_LOAD_ERROR,LIBRARY_PATH,UNAVAILABLE_FUNCTIONS). No behavior change; importingtecio.libteciostill never raises, even with no Tecplot installation or an older one missing a newer symbol.bindis now keyword-only at its call sites for readability.
Fixed#
TecplotPltWriter.close()andTecplotDatWriter.close()now flush buffered auxiliary data, matchingTecplotSzlWriter’s existing behavior. Previously, callingadd_auxdataset_dict()/add_auxvar_dict()after the first zone had already been written silently discarded that data on PLT and DAT output, no error, nothing written.
Full changelog: v0.3.0…v0.3.1