diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/ScreeningBusinessObjectFactory.java b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/ScreeningBusinessObjectFactory.java index 75439defbcc4ca03608575a03f7f47d0ed4daaea..2a9095702bc0c3e9a290b8c1b204eae6f192eacc 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/ScreeningBusinessObjectFactory.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/ScreeningBusinessObjectFactory.java @@ -56,7 +56,8 @@ public final class ScreeningBusinessObjectFactory extends AbstractPluginBusiness public IHCSDatasetLoader createHCSDatasetLoader(ExternalDataPE dataSet) { String dssCode = dataSet.getDataStore().getCode(); - return new HCSDatasetLoader(specificDAOFactory.getImagingQueryDAO(dssCode), dataSet.getCode()); + String dataSetCode = dataSet.getCode(); + return new HCSDatasetLoader(specificDAOFactory.getImagingQueryDAO(dssCode), dataSetCode); } public final ISampleBO createSampleBO(final Session session)