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

SSDM-1070 : PAPER - OPENBIS - Migrate Manage Properties YeastLab

SVN: 33385
parent cc045d83
No related branches found
No related tags found
No related merge requests found
...@@ -82,9 +82,9 @@ def translate(tr, sample, properties): ...@@ -82,9 +82,9 @@ def translate(tr, sample, properties):
linkedSample = getSampleByPermId(tr, permId) linkedSample = getSampleByPermId(tr, permId)
newAnnotationsNode.attrib["identifier"] = linkedSample.getSampleIdentifier() newAnnotationsNode.attrib["identifier"] = linkedSample.getSampleIdentifier()
concentration = getValueOrNull(child.attrib, "concentration") quantity = getValueOrNull(child.attrib, "quantity")
if(concentration is not None): if(quantity is not None):
newAnnotationsNode.attrib["QUANTITY"] = concentration newAnnotationsNode.attrib["QUANTITY"] = quantity
chemicalName = getValueOrNull(child.attrib, "name") chemicalName = getValueOrNull(child.attrib, "name")
if(chemicalName is not None): if(chemicalName is not None):
newAnnotationsNode.attrib["CHEMICAL_NAME"] = chemicalName newAnnotationsNode.attrib["CHEMICAL_NAME"] = chemicalName
......
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