From 93e96a5adfd9a8d450bb30577ccbb4e1e2f7d24f Mon Sep 17 00:00:00 2001 From: tpylak <tpylak> Date: Tue, 17 May 2011 07:57:00 +0000 Subject: [PATCH] LMS-2225 fix integration tests SVN: 21332 --- .../ch/systemsx/cisd/openbis/dss/etl/ImagingDatabaseHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/ImagingDatabaseHelper.java b/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/ImagingDatabaseHelper.java index ff2d2fbfc05..7fd1e6a062f 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/ImagingDatabaseHelper.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/ImagingDatabaseHelper.java @@ -260,6 +260,7 @@ public class ImagingDatabaseHelper private Map<String, Long> getOrCreateChannels(ChannelOwner channelOwner, List<Channel> channels) { + fillMissingChannelColors(channels); if (channelOwner.tryGetExperimentId() != null) { long expId = channelOwner.tryGetExperimentId(); @@ -295,7 +296,6 @@ public class ImagingDatabaseHelper private Map<String, Long> createChannels(ChannelOwner channelOwner, List<Channel> channels) { Map<String, Long> map = new HashMap<String, Long>(); - fillMissingChannelColors(channels); for (Channel channel : channels) { ImgChannelDTO channelDTO = createChannel(channel, channelOwner); -- GitLab