From 24f3afce9cf7d697245baea27f5266e128ae81fc Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Wed, 10 Dec 2014 14:46:01 +0000
Subject: [PATCH] SSDM-1285 : ELN - Peter Lab Migration

SVN: 33017
---
 .../1/dss/drop-boxes/petermigration/migration.py             | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/plasmid/source/core-plugins/petermigration/1/dss/drop-boxes/petermigration/migration.py b/plasmid/source/core-plugins/petermigration/1/dss/drop-boxes/petermigration/migration.py
index d8490c2059c..3bd8b0f3925 100644
--- a/plasmid/source/core-plugins/petermigration/1/dss/drop-boxes/petermigration/migration.py
+++ b/plasmid/source/core-plugins/petermigration/1/dss/drop-boxes/petermigration/migration.py
@@ -368,9 +368,8 @@ class DocumentOpenBISDTO(OpenBISDTO):
             return None
     
     def isInOpenBIS(self, tr):
-        return False
-        #dataset = self.getDocumentBySerial(tr, self.values["SERIAL"])
-        #return dataset is not None
+        dataset = self.getDocumentBySerial(tr, self.values["SERIAL"])
+        return dataset is not None
         
 fmConnString = "jdbc:filemaker://127.0.0.1/"
 fmUser = "designer"
-- 
GitLab