From 61c990dc48677b5dd89d94a59c88ae136442e4cd Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Mon, 12 Dec 2016 13:26:04 +0000
Subject: [PATCH] SSDM-4454 : MULTILINE_VARCHAR fields can now be configured to
 be forced to plain text

SVN: 37478
---
 .../dist/core-plugins/eln-lims/1/as/elnTypes.py               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/elnTypes.py b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/elnTypes.py
index 5a7a697186a..620afaad6bb 100644
--- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/elnTypes.py
+++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/elnTypes.py
@@ -700,7 +700,7 @@ OLIGO = [FIRST_TIME_VERSIONED, True, "OLIGO", "", [
         [FIRST_TIME_VERSIONED, "DIRECTION",                 "Details",            "Direction",                DataType.CONTROLLEDVOCABULARY, "DIRECTION",            "Direction of the oligonucleotide", None, None],
         [FIRST_TIME_VERSIONED, "RESTRICTION_ENZYME",         "Details",            "Restriction Enzyme",        DataType.MULTILINE_VARCHAR,        None,                "Restriction sites in the oligonucleotide", None, None],
         [FIRST_TIME_VERSIONED, "MODIFICATIONS",             "Details",            "Modifications",            DataType.MULTILINE_VARCHAR,        None,                "Modifications of the ordered oligonucleotide", None, None],
-        [FIRST_TIME_VERSIONED, "SEQUENCE",                 "Details",            "Sequence",                    DataType.VARCHAR,        None,                "Sequence of the oligonucleotide", None, None],
+        [FIRST_TIME_VERSIONED, "SEQUENCE",                 "Details",            "Sequence",                    DataType.MULTILINE_VARCHAR,        None,                "Sequence of the oligonucleotide", None, None],
         [FIRST_TIME_VERSIONED, "XMLCOMMENTS",             "Comments",            "Comments List",            DataType.XML,                    None,                "Several comments can be added by different users", "COMMENTS_SAMPLE", None],
         [FIRST_TIME_VERSIONED, "ANNOTATIONS_STATE",        "Comments",            "Annotations State",        DataType.XML,                    None,                "Annotations State", "ANNOTATIONS_OLIGO", None]
     ]];
@@ -713,7 +713,7 @@ RNA = [FIRST_TIME_VERSIONED, True, "RNA", "", [
         [FIRST_TIME_VERSIONED, "STRAND",                     "Details",                "Strand",                DataType.CONTROLLEDVOCABULARY,    "STRAND",            "Double or single strand RNA", None, None],
         [FIRST_TIME_VERSIONED, "BACKBONE_TYPE",             "Details",                "Backbone type",        DataType.CONTROLLEDVOCABULARY,    "RNA_BACKBONE",        "Type of backbone, modifications in the backbone", None, None],
         [FIRST_TIME_VERSIONED, "MODIFICATIONS",             "Details",                "Modifications",        DataType.VARCHAR,                None,                "Modifications of the ordered oligonucleotide", None, None],
-        [FIRST_TIME_VERSIONED, "SEQUENCE",                 "Details",                "Sequence",                DataType.VARCHAR,        None,                "Sequence of the oligonucleotide", None, None],
+        [FIRST_TIME_VERSIONED, "SEQUENCE",                 "Details",                "Sequence",                DataType.MULTILINE_VARCHAR,        None,                "Sequence of the oligonucleotide", None, None],
         [FIRST_TIME_VERSIONED, "SUPPLIER",                 "Supplier and storage",    "Supplier",                DataType.MULTILINE_VARCHAR,        None,                "Supplier of the product", None, None],
         [FIRST_TIME_VERSIONED, "ARTICLE_NUMBER",             "Supplier and storage",    "Art. Number",            DataType.MULTILINE_VARCHAR,        None,                "Article number of the product", None, None],
         [FIRST_TIME_VERSIONED, "STORAGE",                 "Supplier and storage",    "Storage",                DataType.CONTROLLEDVOCABULARY,    "STORAGE",            "Storage conditions of the product", None, None],
-- 
GitLab