Skip to content
Snippets Groups Projects
Commit a2dab8bf authored by juanf's avatar juanf
Browse files

SSDM-1922: CORE - YEASTLAB: Delete repeated annotations

SVN: 34034
parent 8ea0a7ff
No related branches found
No related tags found
No related merge requests found
...@@ -286,7 +286,7 @@ def isChild(sample, identifier): ...@@ -286,7 +286,7 @@ def isChild(sample, identifier):
def getAnnotationsRootNodeFromSample(sample): def getAnnotationsRootNodeFromSample(sample):
annotations = sample.getPropertyValue("ANNOTATIONS_STATE") annotations = sample.getPropertyValue("ANNOTATIONS_STATE")
if '<root>' in annotations: if '<root' in annotations:
try: try:
return ET.fromstring(annotations) return ET.fromstring(annotations)
except Exception: except Exception:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment