v2.2.0
Contributors to this version: Ludwig Lierhammer (@ludwiglierhammer) and Joseph Siddons (@jtsiddons)
Announcements
This release adds support for Python 3.14 (PR/339).
New features and enhancements
-
new parameter in function
map_model(PR/327).drop_duplicates: If True remove duplicated rows (default: True).drop_missing_obs: If True remove observation rows without a validobservation_value(default: True).
-
new Pub47 testdata (test_data["test_pub47"]) (PR/327)
Breaking changes
cdm_reader_mapper.cdm_mapper: renamemap_and_convertto helper function_map_and_convert(PR/343)- replace
logging.errorwithraiseerror statements (PR/345)
Internal changes
-
rename test data class from test_data to TestData (PR/327)
-
update .gitignore (PR/324)
-
update and add docstrings for multiple functions (PR/324)
-
cdm_reader_mapper.cdm_mapper: update mapping functions for more readability (PR/324) -
cdm_reader_mapper.cdm_mapper: introduce some helper functions (PR/324) -
cdm_reader_mapper.cdm_mapper: splitmap_and_convertinto multiple helper functions (GH/333, PR/343) -
exclude tests/*.py from
pre-commitcodespell hook (PR/345) -
replace many
osfunctions withpathlib.Path(PR/345) -
re-work
mdf_reader(GH/334, PR/345)- remove
reader.MDFFileReaderclass - remove
utils.configuratormodule - remove both
utils.decoderandmdf_reader.utils.convertermodules - introduce
utils.parsermodule: bunch of functions to parse input data into MDF data - introduce
utils.convert_and_decode: make converter and decoder functions more modular - make
utils.validatormodule more modular utils.filereader.FileReaderusesutils.parserfunction for parsing- move many helper function to
utils.utilities - serialize
schemas.schemasmodule
- remove
-
add type hints and docstrings to
mdf_reader(PR/345) -
add unit tests for
mdf_readermodule to testing suite (PR/345)
Bug fixes