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

SSDM-623: Copy parents and children when duplicating subexperiments/samples (bugfix).

SVN: 32170
parent 4dfcc451
No related branches found
No related tags found
No related merge requests found
......@@ -262,6 +262,7 @@ def insertUpdateSample(tr, parameters, tableBuilder):
if sampleChildrenNew != None:
for newSampleChild in sampleChildrenNew:
child = tr.createNewSample(newSampleChild["identifier"], newSampleChild["sampleTypeCode"]); #Create Sample given his id
child.setParentSampleIdentifiers([sampleIdentifier]);
for key in newSampleChild["properties"].keySet():
propertyValue = unicode(newSampleChild["properties"][key]);
if propertyValue == "":
......
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