From 0dc5a39ab2e73058315230df1dc09599df51c9c8 Mon Sep 17 00:00:00 2001
From: barillac <barillac>
Date: Fri, 9 May 2014 08:43:09 +0000
Subject: [PATCH] sample, experiment, dataset type changed

SVN: 31474
---
 plasmid/source/drop-boxes/facs_data/import_facs.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/plasmid/source/drop-boxes/facs_data/import_facs.py b/plasmid/source/drop-boxes/facs_data/import_facs.py
index e9a6e693c29..f72488ea919 100644
--- a/plasmid/source/drop-boxes/facs_data/import_facs.py
+++ b/plasmid/source/drop-boxes/facs_data/import_facs.py
@@ -81,18 +81,18 @@ def process(transaction):
 	for exp in set(experimentNameList):
 		experiment = transaction.getExperiment("/" + space  + "/" + proj + "/" + exp)
 		if not experiment:
-  			experiment = transaction.createNewExperiment("/" + space  + "/" + proj + "/" + exp, "FACS_DATA")	
+  			experiment = transaction.createNewExperiment("/" + space  + "/" + proj + "/" + exp, "ANALYSIS")	
 
   	for sample, directory in zip(sampleNameList,directoryToImportList):
   		if sample == "na":
-  			sampleNew = transaction.createNewSampleWithGeneratedCode(space, "FACS_DATA")
+  			sampleNew = transaction.createNewSampleWithGeneratedCode(space, "RESULT")
   			sampleNew.setExperiment(experiment)
   		else:
-  			sampleNew = transaction.createNewSample("/" + space + "/" + sample, "FACS_DATA" )
+  			sampleNew = transaction.createNewSample("/" + space + "/" + sample, "RESULT" )
 			sampleNew.setExperiment(experiment)
 		
 		dataSet = transaction.createNewDataSet()
-		dataSet.setDataSetType("FACS_DATA")
+		dataSet.setDataSetType("FACS_DATA_RAW")
 		dataSet.setSample(sampleNew)
 		transaction.moveFile(directory, dataSet)					
 	
-- 
GitLab