From 8ea0a7ff4fcb0e4399cc031014589f6ee4c1f83c Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Tue, 26 May 2015 12:29:52 +0000
Subject: [PATCH] SSDM-1950 : Genotype Property Support

SVN: 34033
---
 .../source/core-plugins/eln-lims/1/compatibility/genotype.py    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plasmid/source/core-plugins/eln-lims/1/compatibility/genotype.py b/plasmid/source/core-plugins/eln-lims/1/compatibility/genotype.py
index d0baae9768d..f8ce5c827dd 100644
--- a/plasmid/source/core-plugins/eln-lims/1/compatibility/genotype.py
+++ b/plasmid/source/core-plugins/eln-lims/1/compatibility/genotype.py
@@ -47,7 +47,7 @@ def calculate():
 def getAnnotationsForParent(parent, child):
     permId = parent.entityPE().getPermId()
     annotations = child.propertyValue("ANNOTATIONS_STATE")
-    if (annotations is not None) and ('<root>' in annotations):
+    if (annotations is not None) and ('<root' in annotations):
         relationshipValue = getAnnotationFromPermId(annotations, permId, "PLASMID_RELATIONSHIP")
         if relationshipValue is None:
             relationshipValue = "None"
-- 
GitLab