Skip to content

Commit

Permalink
fix: can't assume self is always empty, need to check equality
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhulbert committed Dec 17, 2024
1 parent df47b3f commit d0e24ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/janelia/saalfeldlab/n5/N5Reader.java
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ default String[] deepList(

while (!datasetFutures.isEmpty()) {
final String result = datasetFutures.poll().get();
if (result != null && !result.isEmpty())
if (result != null && !result.equals(normalPathName))
results.add(result.substring(normalPathName.length() + groupSeparator.length()));
}

Expand Down

0 comments on commit d0e24ba

Please sign in to comment.