Release 1.0.0
This is the first major release of turn_by_turn, marking the transition from a pre-1.0 version to a stable API.
This release includes introduces some small breaking changes to the API, mainly the removal of the date attribute from the TbtData dataclass, as it was not consistently populated across all datatypes and readers.
Instead a new attribute meta has been added
which is a dictionary to hold any additional metadata that might be relevant for a specific datatype or reader in the future,
or can be used to store user-defined metadata,
but the entries should not be relied upon to be present across all datatypes or readers.
Some common meta-entries are:
date: The date and time of the measurement, if available from the file.file: The path to the file the data was loaded from.source_datatype: The datatype the data was loaded from, e.g.lhc,sps,doros, etc.comment: Any comment on the measurement.
Changed:
- Removed the
dateattribute from theTbtDatadataclass. - Reordered the parameters of the
TbtDatadataclass to havematrices,nturnsfirst, as required attributes, then optinallybunch_ids, andmeta. - Added a
metaattribute to theTbtDatadataclass to hold additional metadata as a dictionary. - Updated all readers to populate the
metaattribute with relevant metadata where available. - Restructured the
iotamodule. This should be mostly transparent to the user, unless they were using internal functions or classes from theiotamodule directly.
What's Changed
- Linter configuration and fixes by @fsoubelet in #25
- Meta-Field in TbTData by @JoschD in #28
- Coverage Config by @fsoubelet in #29
Full Changelog: 0.9.1...1.0.0