From f160912f1bbc273a58c81afe41ba50cad395992b Mon Sep 17 00:00:00 2001 From: Cristian Goina Date: Wed, 28 Feb 2024 17:50:48 -0500 Subject: [PATCH] processing tag was not updated for targets --- .../janelia/colormipsearch/cmd/CalculateGradientScoresCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colormipsearch-tools/src/main/java/org/janelia/colormipsearch/cmd/CalculateGradientScoresCmd.java b/colormipsearch-tools/src/main/java/org/janelia/colormipsearch/cmd/CalculateGradientScoresCmd.java index e270d447..129b97d0 100644 --- a/colormipsearch-tools/src/main/java/org/janelia/colormipsearch/cmd/CalculateGradientScoresCmd.java +++ b/colormipsearch-tools/src/main/java/org/janelia/colormipsearch/cmd/CalculateGradientScoresCmd.java @@ -360,7 +360,7 @@ private long up Set targetsToUpdate = cdMatches.stream() .map(AbstractMatchEntity::getMatchedImage).collect(Collectors.toSet()); cdmipsWriter.addProcessingTags(masksToUpdate, ProcessingType.GradientScore, Collections.singleton(args.getProcessingTag())); - cdmipsWriter.addProcessingTags(masksToUpdate, ProcessingType.GradientScore, Collections.singleton(args.getProcessingTag())); + cdmipsWriter.addProcessingTags(targetsToUpdate, ProcessingType.GradientScore, Collections.singleton(args.getProcessingTag())); return masksToUpdate.size() + targetsToUpdate.size(); }) .orElse(0);