From b1d087d7225512e5502d5ac406f4828b4ae83f47 Mon Sep 17 00:00:00 2001
From: vermeul <swen@ethz.ch>
Date: Fri, 9 Nov 2018 17:40:17 +0100
Subject: [PATCH] added autoGeneratedCode as attribute for new DataSets

---
 pybis/src/python/pybis/definitions.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pybis/src/python/pybis/definitions.py b/pybis/src/python/pybis/definitions.py
index 6ccd5ddb2d4..9371574023d 100644
--- a/pybis/src/python/pybis/definitions.py
+++ b/pybis/src/python/pybis/definitions.py
@@ -63,8 +63,8 @@ def openbis_definitions(entity):
             "multi": "parents children components tags attachments".split(),
         },
         "DataSet": {
-            "attrs_new": "type kind experiment sample parents children components containers tags".split(),
-            "attrs_up": "kind parents children experiment sample components containers tags".split(),
+            "attrs_new": "type code autoGeneratedCode kind experiment sample parents children components containers tags".split(),
+            "attrs_up": "parents children experiment sample components containers tags".split(),
             "attrs": "code permId type kind experiment sample parents children components containers tags accessDate dataProducer dataProductionDate registrator registrationDate modifier modificationDate dataStore size measured".split(),
 
             "ids2type": {
-- 
GitLab