From 7ebb5e23f4c80b5f1148f090aaeffa7aa6adf89a Mon Sep 17 00:00:00 2001 From: jakubs <jakubs> Date: Fri, 10 Aug 2012 09:40:43 +0000 Subject: [PATCH] SP-203 BIS-126 extract connstant SVN: 26324 --- .../etl/jython/ImagingDataSetRegistrationTransaction.java | 3 ++- .../screening/shared/basic/dto/ScreeningConstants.java | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/ImagingDataSetRegistrationTransaction.java b/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/ImagingDataSetRegistrationTransaction.java index 7c42263bff2..f196ee26971 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/ImagingDataSetRegistrationTransaction.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/ImagingDataSetRegistrationTransaction.java @@ -325,7 +325,8 @@ public class ImagingDataSetRegistrationTransaction extends DataSetRegistrationTr private FeatureVectorContainerDataSet createFeatureVectorContainerDataSet( FeatureVectorDataSet mainDataset) { - String containerDatasetTypeCode = "HCS_ANALYSIS_WELL_FEATURES_CONTAINER"; + String containerDatasetTypeCode = + ScreeningConstants.DEFAULT_ANALYSIS_WELL_CONTAINER_DATASET_TYPE; @SuppressWarnings("unchecked") FeatureVectorContainerDataSet containerDataSet = (FeatureVectorContainerDataSet) createNewDataSet( diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/shared/basic/dto/ScreeningConstants.java b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/shared/basic/dto/ScreeningConstants.java index a76455ab139..597449f645c 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/shared/basic/dto/ScreeningConstants.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/shared/basic/dto/ScreeningConstants.java @@ -151,6 +151,12 @@ public class ScreeningConstants /** type of the new analysis dataset */ public static final String DEFAULT_ANALYSIS_WELL_DATASET_TYPE = "HCS_ANALYSIS_WELL_FEATURES"; + /** + * type of the analysis container dataset + */ + public static final String DEFAULT_ANALYSIS_WELL_CONTAINER_DATASET_TYPE = + "HCS_ANALYSIS_WELL_FEATURES_CONTAINER"; + /** unknown file format code */ public static final String UNKNOWN_FILE_FORMAT = "UNKNOWN"; -- GitLab