Release 3.7.0
Release 3.7.0 adds some functionality with a reworked TfsCollection class.
-
Changed:
- The old
write_toandget_filenameof theTfsCollectionclass have been renamed to_write_toand_get_filenameas they
could only be accessed internally (due to the input parameters not available to the user). - The column which is set as index can now also be defined manually by overwriting the
INDEXattribute, which defaults to"NAME". - The define properties functions have been moved into the
Tfs-attribute marker class. - The
MaybeCallclass returnsNonein case of attribute not found, instead of previously an empty function.
- The old
-
Added:
- A
get_filename(name)function toTfsCollectionwhich returns the associated filename to the property with namename. - A
get_path(name)function toTfsCollectionwhich returns the actual file path of the propertyname. - A
flush()function toTfsCollectionwhich writes the current state of the TfsDataFrames into their respective files. - A
write_tfs(filename, data_frame)function toTfsCollectionwhich writes thedata_frametoself.directorywith the givenfilename. - A
defined_propertiesproperty toTfsCollectionwhich returns a tuple of strings of the defined properties on this instance. - A
filenamesproperty toTfsCollectionwhich is a convenience wrapper forget_filename():
- A
For details see the API documentation.
What's Changed
Full Changelog: v3.6.0...v3.7.0