Skip to content

Commit 9b62ea9

Browse files
committed
do not unpublish for sample publishing errors
1 parent cdee77b commit 9b62ea9

File tree

1 file changed

+1
-2
lines changed
  • colormipsearch-tools/src/main/java/org/janelia/colormipsearch/cmd/jacsdata

1 file changed

+1
-2
lines changed

colormipsearch-tools/src/main/java/org/janelia/colormipsearch/cmd/jacsdata/ColorDepthMIP.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,8 @@ public void updateLMNeuron(LMNeuronMetadata lmNeuron, NeuronPublishedURLs neuron
231231
lmNeuron.unpublish("Sample " + sample.id + " not published to staging");
232232
}
233233
if (StringUtils.isNotBlank(sample.publishingError)) {
234-
// sample publishing errors found
234+
// sample publishing errors found; this error will not result in unpublishing the neuron
235235
logger.accept("Sample publishing errors " + sample.id + ": " + sample.publishingError + " for " + lmNeuron.getMipId());
236-
lmNeuron.unpublish("publishing error: " + sample.publishingError);
237236
}
238237
}
239238

0 commit comments

Comments
 (0)