From ded2b128268e98b9a32b89f1c26f6d16bb65f885 Mon Sep 17 00:00:00 2001 From: Alexander Schlemmer <alexander@mail-schlemmer.de> Date: Tue, 5 Apr 2022 10:01:13 +0200 Subject: [PATCH] FIX: added unit for workaround --- src/caosdb/apiutils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/caosdb/apiutils.py b/src/caosdb/apiutils.py index a954535b..36989dc7 100644 --- a/src/caosdb/apiutils.py +++ b/src/caosdb/apiutils.py @@ -748,6 +748,7 @@ def merge_entities(entity_a: Entity, entity_b: Entity): name=entity_b.get_property(key).name, datatype=entity_b.get_property(key).datatype, value=entity_b.get_property(key).value, + unit=entity_b.get_property(key).unit, importance=entity_b.get_importance(key)) # entity_a.add_property( # entity_b.get_property(key), -- GitLab