diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/ClientPluginFactory.java b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/ClientPluginFactory.java index 8ee2277a3914d12e11c1a769738fb23482d4f6e2..87e54f3380880a8a9b25c5fc1d2ea6cf98097d98 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/ClientPluginFactory.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/ClientPluginFactory.java @@ -402,7 +402,9 @@ public final class ClientPluginFactory extends AbstractClientPluginFactory<Scree String datasetTypeCode = entity.getEntityType().getCode(); if (entity.getPermId().contains(":")) { - return createImageDataSetViewer(entity, new WellLocation(1, 1)); + String permId = entity.getPermId(); + return createImageDataSetViewer(entity, + WellLocation.parseLocationStr(permId.substring(permId.indexOf(':')))); } else if (datasetTypeCode .matches(ScreeningConstants.ANY_HCS_IMAGE_DATASET_TYPE_PATTERN)) {