From 0007c45e6421f753d4eb52096a3be68c81b4f31f Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Tue, 31 Mar 2015 15:16:49 +0000 Subject: [PATCH] Fix vocabulary name to not collide with other shipped plugin definitions SVN: 33769 --- .../core-plugins/newbrowser/1/as/initialize-master-data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plasmid/source/core-plugins/newbrowser/1/as/initialize-master-data.py b/plasmid/source/core-plugins/newbrowser/1/as/initialize-master-data.py index 3caac7a5253..892d6c4f6d7 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/initialize-master-data.py +++ b/plasmid/source/core-plugins/newbrowser/1/as/initialize-master-data.py @@ -364,7 +364,7 @@ createVocabularyWithTerms("TEMPLATE", "Type of template used in the PCR protocol ["YEAST_COLONY", "yeast colony", None] ]); -createVocabularyWithTerms("YES_NO", "Yes or No or Unknown Choice", +createVocabularyWithTerms("YES_NO_CHOICE", "Yes or No or Unknown Choice", [ ["YES", "yes", None], ["NO", "no", None], @@ -681,7 +681,7 @@ createSampleTypeWithProperties("CELL_LINE", "", [ ["GROWTH_TEMP", "Cultivation", "Growth temp. ( °C)", DataType.INTEGER, None, "Growth temperature of the cell line", None], ["CELL_CO2", "Cultivation", "% CO2", DataType.INTEGER, None, "Percentage of CO2 needed for the cultivation of the cell line", None], ["SELECTION_MARKER", "Cultivation", "Selection marker", DataType.VARCHAR, None, "Special medium components or selection needed for the cell line", None], - ["MYCOPLASM", "Cultivation", "Mycoplasm tested", DataType.CONTROLLEDVOCABULARY, "YES_NO", "Mycoplasm tested", None], + ["MYCOPLASM", "Cultivation", "Mycoplasm tested", DataType.CONTROLLEDVOCABULARY, "YES_NO_CHOICE", "Mycoplasm tested", None], ["PUBLICATION", "Comments", "Publication", DataType.MULTILINE_VARCHAR, None, "Publication from where the information was first found OR technical sheet given by the manufacturer", None], ["NOTES", "Comments", "Notes", DataType.MULTILINE_VARCHAR, None, "Notes", None], ["XMLCOMMENTS", "Comments", "Comments List", DataType.XML, None, "Several comments can be added by different users", commentsSampleScriptName], -- GitLab