From 3126c9ecdf5aba171566de348d515945bca8c48a Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Wed, 4 Feb 2015 15:24:29 +0000
Subject: [PATCH] SSDM-1070 : PAPER - OPENBIS - Migrate Manage Properties
 YeastLab (Configurable)

SVN: 33391
---
 .../drop-boxes/stellingmigration/managed.py   | 12 ++++++++
 .../drop-boxes/stellingmigration/migration.py | 29 +++++++++++++++++++
 2 files changed, 41 insertions(+)

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 95776f71b93..0fc50a64e4d 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
@@ -14,6 +14,18 @@ configuration["GENERAL_PROTOCOL"] = {
                           "GENERAL_PROTOCOL" : {"NAME" : False }
                          };
 
+configuration["MEDIA"] = {
+                          "CHEMICALS" : {"QUANTITY" : False, "NAME" : False },
+                          "SOLUTION_BUFFERS" : {"QUANTITY" : False, "NAME" : False },
+                          "MEDIA" : {"QUANTITY" : False, "NAME" : False }
+                         };
+
+configuration["PCR"] = {
+                          "CHEMICALS" : {"QUANTITY" : False, "NAME" : False },
+                          "SOLUTION_BUFFERS" : {"QUANTITY" : False, "NAME" : False },
+                          "ENZYMES" : {"NAME" : 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 653ec3203fb..aeff2ca7997 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
@@ -26,6 +26,35 @@ definitions = {
                                      "GENERAL_PROTOCOL" : {
                                                     "name" : "NAME"
                                                     }
+                                    },
+               "MEDIA" : 
+                                    { 
+                                     "CHEMICALS" : {
+                                                    "concentration" : "QUANTITY",
+                                                    "name" : "NAME"
+                                                    },
+                                     "SOLUTIONS_BUFFERS" : {
+                                                    "concentration" : "QUANTITY",
+                                                    "name" : "NAME"
+                                                    },
+                                     "MEDIA" : {
+                                                    "concentration" : "QUANTITY",
+                                                    "name" : "NAME"
+                                                    }
+                                    },
+               "PCR" : 
+                                    { 
+                                     "CHEMICALS" : {
+                                                    "quantity" : "QUANTITY",
+                                                    "name" : "NAME"
+                                                    },
+                                     "SOLUTIONS_BUFFERS" : {
+                                                    "quantity" : "QUANTITY",
+                                                    "name" : "NAME"
+                                                    },
+                                     "ENZYMES" : {
+                                                    "name" : "NAME"
+                                                    }
                                     }
 };
 
-- 
GitLab