From d03f48b59739391c4df20317688f2be687aa1001 Mon Sep 17 00:00:00 2001 From: Eric Trautman Date: Wed, 17 Apr 2024 15:41:14 -0400 Subject: [PATCH] log message when no tile ids are found for z layer during global solve --- .../org/janelia/render/client/solver/DistributedSolve.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/render-ws-java-client/src/main/java/org/janelia/render/client/solver/DistributedSolve.java b/render-ws-java-client/src/main/java/org/janelia/render/client/solver/DistributedSolve.java index 02e73000e..4a8c858ab 100644 --- a/render-ws-java-client/src/main/java/org/janelia/render/client/solver/DistributedSolve.java +++ b/render-ws-java-client/src/main/java/org/janelia/render/client/solver/DistributedSolve.java @@ -374,8 +374,11 @@ protected GlobalSolve globalSolve( final HashSet< String > tileIds = solveItemA.zToTileId().get( z ); // if there are none, we continue with the next - if (tileIds.isEmpty()) + if ((tileIds == null) || tileIds.isEmpty()) { + LOG.info("globalSolve: no tileIds for z {} in solveItemA with range {} to {}", + z, solveItemA.minZ(), solveItemA.maxZ()); continue; + } gs.zToTileIdGlobal.putIfAbsent( z, new HashSet<>() ); zToSolveItemPairs.putIfAbsent( z, new ArrayList<>() );