From 77f0e1824f34f972089b68809f68c14fbe3e79ed Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Thu, 5 Feb 2015 14:48:46 +0000
Subject: [PATCH] SSDM-1070 : PAPER - OPENBIS - Migrate Manage Properties
 YeastLab (Configurable)

SVN: 33397
---
 .../drop-boxes/stellingmigration/managed.py   | 20 +++++++++---
 .../drop-boxes/stellingmigration/migration.py | 32 ++++++++++++++++---
 2 files changed, 42 insertions(+), 10 deletions(-)

diff --git a/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/managed.py b/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/managed.py
index 95fd8c1c0ac..dddca6bd438 100644
--- a/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/managed.py
+++ b/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/managed.py
@@ -15,9 +15,9 @@ configuration["GENERAL_PROTOCOL"] = {
                          };
 
 configuration["MEDIA"] = {
-                          "CHEMICALS" : {"QUANTITY" : False, "NAME" : False },
-                          "SOLUTION_BUFFERS" : {"QUANTITY" : False, "NAME" : False },
-                          "MEDIA" : {"QUANTITY" : False, "NAME" : False }
+                          "CHEMICALS" : {"CONCENTRATION" : False, "NAME" : False },
+                          "SOLUTION_BUFFERS" : {"CONCENTRATION" : False, "NAME" : False },
+                          "MEDIA" : {"CONCENTRATION" : False, "NAME" : False }
                          };
 
 configuration["PCR"] = {
@@ -41,10 +41,20 @@ configuration["RESULT"] = {
                          };
 
 configuration["SOLUTION_BUFFERS"] = {
+                          "CHEMICALS" : {"CONCENTRATION" : False, "NAME" : False },
+                          "SOLUTION_BUFFERS" : {"CONCENTRATION" : False, "NAME" : False }
+                         };
+
+configuration["WESTERN_BLOTTING"] = {
                           "CHEMICALS" : {"QUANTITY" : False, "NAME" : False },
-                          "SOLUTION_BUFFERS" : {"QUANTITY" : False, "NAME" : False }
+                          "SOLUTION_BUFFERS" : {"QUANTITY" : False, "NAME" : False },
+                          "ANTIBODY" : {"QUANTITY" : False, "NAME" : False }
+                         };
+
+configuration["YEAST"] = {
+                          "PLASMIDS" : {"ANNOTATION" : False, "RELATIONSHIP" : False }
                          };
-                         
+
 #Global Variables
 annotableType = "<REPLACE_WITH_ANNOTABLE_TYPE>"
 server = CommonServiceProvider.getCommonServer()
diff --git a/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/migration.py b/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/migration.py
index 3b7103f0753..6156c7c3595 100644
--- a/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/migration.py
+++ b/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/migration.py
@@ -30,15 +30,15 @@ definitions = {
                 "MEDIA" : 
                                      { 
                                       "CHEMICALS" : {
-                                                     "concentration" : "QUANTITY",
+                                                     "concentration" : "CONCENTRATION",
                                                      "name" : "NAME"
                                                      },
                                       "SOLUTIONS_BUFFERS" : {
-                                                     "concentration" : "QUANTITY",
+                                                     "concentration" : "CONCENTRATION",
                                                      "name" : "NAME"
                                                      },
                                       "MEDIA" : {
-                                                     "concentration" : "QUANTITY",
+                                                     "concentration" : "CONCENTRATION",
                                                      "name" : "NAME"
                                                      }
                                      },
@@ -88,13 +88,35 @@ definitions = {
                "SOLUTIONS_BUFFERS" : 
                                     { 
                                      "CHEMICALS" : {
-                                                     "concentration" : "QUANTITY",
+                                                     "concentration" : "CONCENTRATION",
                                                      "name" : "NAME"
                                                      },
                                      "SOLUTIONS_BUFFERS" : {
-                                                     "concentration" : "QUANTITY",
+                                                     "concentration" : "CONCENTRATION",
                                                      "name" : "NAME"
                                                      }
+                                    },
+               "WESTERN_BLOTTING" : 
+                                    {
+                                     "ANTIBODY" : {
+                                                     "quantity" : "QUANTITY",
+                                                     "name" : "NAME"
+                                                     },
+                                     "CHEMICALS" : {
+                                                     "quantity" : "QUANTITY",
+                                                     "name" : "NAME"
+                                                     },
+                                     "SOLUTIONS_BUFFERS" : {
+                                                     "quantity" : "QUANTITY",
+                                                     "name" : "NAME"
+                                                     }
+                                    },
+               "YEAST" : 
+                                    {
+                                     "PLASMIDS" : {
+                                                     "annotation" : "ANNOTATION",
+                                                     "rel" : "RELATIONSHIP"
+                                                     }
                                     }
 };
 
-- 
GitLab