diff --git a/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/v2/ImagingDataSetRegistrationTransaction.java b/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/v2/ImagingDataSetRegistrationTransaction.java index 21ce8bcc8c1b2943a7a9d1bdf0f938741964de83..c2098918457a6377bc4d1216786482217445380b 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/v2/ImagingDataSetRegistrationTransaction.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/v2/ImagingDataSetRegistrationTransaction.java @@ -643,7 +643,7 @@ public class ImagingDataSetRegistrationTransaction extends DataSetRegistrationTr ThumbnailsStorageFormat thumbnailsStorageFormat) { String thumbnailsDatasetTypeCode = findThumbnailsDatasetTypeCode(imageDataSetInformation); - IDataSet thumbnailDataset = createNewDataSet(thumbnailsDatasetTypeCode, "PHYSICAL"); + IDataSet thumbnailDataset = createNewDataSet(thumbnailsDatasetTypeCode, DataSetKind.PHYSICAL); thumbnailDataset.setFileFormatType(thumbnailsStorageFormat.getFileFormat() .getOpenBISFileType()); thumbnailDataset.setMeasuredData(false);