Skip to content
Snippets Groups Projects
Commit 54b84199 authored by barillac's avatar barillac
Browse files

small fix

SVN: 34485
parent 3df54121
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,11 @@ def update_sample_with_parents(tr, sample_dict): ...@@ -56,6 +56,11 @@ def update_sample_with_parents(tr, sample_dict):
parents_code_list.append(yeast_parent_id) parents_code_list.append(yeast_parent_id)
print "PARENTS: ", parents_code_list print "PARENTS: ", parents_code_list
sample_for_update.setParentSampleIdentifiers(parents_code_list) sample_for_update.setParentSampleIdentifiers(parents_code_list)
elif re.search ("Kwy ", name):
yeast_parent_id = "/MATERIALS/"+name.replace("Kwy ","KWY").strip()
parents_code_list.append(yeast_parent_id)
print "PARENTS: ", parents_code_list
sample_for_update.setParentSampleIdentifiers(parents_code_list)
elif re.search ("KWY ", name): elif re.search ("KWY ", name):
yeast_parent_id = "/MATERIALS/"+name.replace("KWY ","KWY").strip() yeast_parent_id = "/MATERIALS/"+name.replace("KWY ","KWY").strip()
parents_code_list.append(yeast_parent_id) parents_code_list.append(yeast_parent_id)
......
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