Skip to content
Snippets Groups Projects
Commit 9e6ab2b7 authored by barillac's avatar barillac
Browse files

change oligo names from US to UC

SVN: 34461
parent f9cb5251
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,10 @@ def setEntityProperties(tr, definition, entity, properties):
if propertyDefinition[2] == "pKW Number":
propertyValue = "pKW" + propertyValue
if propertyDefinition[2] == "UC Number":
if re.search("US", propertyValue):
propertyValue =propertyValue.replace("US", "UC").strip(" ")
if propertyDefinition is not None: #Sometimes special fields are added for other purposes, these should not be set
entity.setPropertyValue(propertyCode, propertyValue)
......@@ -714,8 +717,8 @@ adaptors = [
#EnzymeAdaptor(fmConnString, fmUser, fmPass, "Weis_Restriction_enzymes"),
#ChemicalAdaptor(fmConnString, fmUser, fmPass, "Weis_Chemicals"),
#AntibodyAdaptor(fmConnString, fmUser, fmPass, "Weis _Antibodies"),
#OligoAdaptor(fmConnString, fmUser, fmPass, "Weis_Oligos"),
PlasmidAdaptor(fmConnString, fmUser, fmPass, "Weis_Plasmids"),
OligoAdaptor(fmConnString, fmUser, fmPass, "Weis_Oligos"),
#PlasmidAdaptor(fmConnString, fmUser, fmPass, "Weis_Plasmids"),
#StrainAdaptor(fmConnString, fmUser, fmPass, "Weis_Yeast_Strains_070715_Clone_for_testing2"),
#StrainMultipleValuesAdaptor(fmConnString, fmUser, fmPass, "Weis_Yeast_Strains_070715_Clone_for_testing2")
]
......
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