diff --git a/README.md b/README.md index 884d48636e31da87d1d8c96dc71afa038af7cd53..980c67be3ffd7c890174ea5e26b039cfc59f3b5f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [](https://git-ce.rwth-aachen.de/wzl-mq-ms/forschung-lehre/lava/unified-device-interface/python/commits/master) # Python Unified Device Interface -Current stable version: 10.0.2 +Current stable version: 10.0.3 ## Installation 1. Install the WZL-UDI package via pip @@ -69,6 +69,8 @@ Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) ## Recent changes +**10.0.3** - 2024-03-21 + - added license field to semantic provision of measurement range **10.0.2** - 2024-03-21 - bug fix diff --git a/setup.py b/setup.py index 2c755c387c18c0dd04630d8c7acd140646490616..759acd45c7751889903fca75fd0a0c903515f79a 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='10.0.2', + version='10.0.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 f62a96ce6b6cdcc8a93ad9581cfc80b5a43a9fdc..134369a70a9af5ac99cf95ec4cec1d6e749577c3 100644 --- a/src/soil/measurement.py +++ b/src/soil/measurement.py @@ -221,6 +221,8 @@ class Measurement(Variable): for subject in subjects: if subject != Semantics.namespace[f'{self._semantic_name}Range']: result.remove((subject, None, None)) + result.add((Semantics.namespace[f'{self._semantic_name}Range'], Namespaces.schema.license, + Semantics.metadata_license)) elif resource_type == ResourceType.data: data_graph = rdflib.Graph()