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 d0baae9768da64529150b6553798adb3117b7297..f8ce5c827ddd1dcbf27010440278ea726849171e 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"