From 56e738b58a81bf52c01fa17a181cb842c75662a8 Mon Sep 17 00:00:00 2001 From: Matthias Bodenbenner <m.bodenbenner@wzl-mq.rwth-aachen.de> Date: Wed, 29 Mar 2023 09:17:10 +0200 Subject: [PATCH] 8.2.3 - removed legacy attributes from serialization and streaming --- README.md | 3 +++ setup.py | 2 +- src/soil/measurement.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f10b71b..6fa7544 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,9 @@ Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) ## Recent changes +**8.2.3** - 2023-03-29 + - removed legacy attributes from serialization and streaming + **8.2.2** - 2023-03-29 - fixed a type hint which depended on windows diff --git a/setup.py b/setup.py index 50270f8..20bdf94 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() setup(name='wzl-udi', - version='8.2.2', + version='8.2.3', url='https://git-ce.rwth-aachen.de/wzl-mq-public/soil/python', project_urls={ "Bug Tracker": "https://git-ce.rwth-aachen.de/wzl-mq-public/soil/python/-/issues", diff --git a/src/soil/measurement.py b/src/soil/measurement.py index 3d44b8f..bb14c2d 100644 --- a/src/soil/measurement.py +++ b/src/soil/measurement.py @@ -109,7 +109,7 @@ class Measurement(Figure): # list is empty provide all attributes of the default-serialization if not keys: keys = ['uuid', 'name', 'description', 'datatype', 'value', 'dimension', 'range', 'timestamp', 'label', - 'nonce', 'covariance', 'unit', 'ontology'] + 'covariance', 'unit'] #, 'ontology'] if 'value' in keys and 'timestamp' not in keys: keys += ['timestamp'] dictionary = {} -- GitLab