From cbd03769a24d62cde040b3b4303f288a8009d133 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Wed, 4 Feb 2015 14:42:48 +0000 Subject: [PATCH] SSDM-1070 : PAPER - OPENBIS - Migrate Manage Properties YeastLab (Configurable) SVN: 33388 --- .../drop-boxes/stellingmigration/managed.py | 3 +- .../drop-boxes/stellingmigration/migration.py | 29 ++++--------------- .../drop-boxes/stellingmigration/notes.txt | 4 +-- 3 files changed, 9 insertions(+), 27 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 b915eedfbc3..78bbe524351 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 @@ -8,7 +8,8 @@ from ch.systemsx.cisd.openbis.generic.server import CommonServiceProvider configuration = {} configuration["GENERAL_PROTOCOL"] = { - "CHEMICALS" : {"QUANTITY" : False, "CHEMICAL_NAME" : False }, + "CHEMICALS" : {"QUANTITY" : False, "NAME" : False }, + "SOLUTION_BUFFERS" : {"QUANTITY" : False, "NAME" : False } }; #Global Variables 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 15b6ce32739..36e740bd753 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 @@ -13,34 +13,15 @@ definitions = { { "CHEMICALS" : { "quantity" : "QUANTITY", - "name" : "CHEMICAL_NAME" + "name" : "NAME" + }, + "SOLUTIONS_BUFFERS" : { + "quantity" : "QUANTITY", + "name" : "NAME" } } }; -# sampleTypes = [ -# "GENERAL_PROTOCOL", -# "MEDIA", -# "PCR", -# "POMBE", -# "READOUT", -# "RESULT", -# "SOLUTIONS_BUFFERS", -# "WESTERN_BLOTTING", -# "YEAST"]; -# -# properties = [ -# "CHEMICALS", -# "SOLUTIONS_BUFFERS", -# "ENZYMES", -# "MEDIA", -# "GENERAL_PROTOCOL", -# "PLASMIDS", -# "POMBE-PARENTS", -# "ANNOTATIONS", -# "ANTIBODIES", -# "YEAST_PARENTS"]; - def process(tr): print "START!" for sampleType in definitions: diff --git a/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/notes.txt b/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/notes.txt index 31434911331..c1d884229ad 100644 --- a/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/notes.txt +++ b/plasmid/source/core-plugins/stellingmigration/1/dss/drop-boxes/stellingmigration/notes.txt @@ -3,8 +3,8 @@ ## # -# CHEMICALS +# CHEMICALS, SOLUTION_BUFFERS # QUANTITY -CHEMICAL_NAME \ No newline at end of file +NAME \ No newline at end of file -- GitLab