Skip to content

Commit 0985942

Browse files
committed
git cam no exception thrown if no indexing components - just log
1 parent 065cda5 commit 0985942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

colormipsearch-api/src/main/java/org/janelia/colormipsearch/mips/FileDataUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private static List<String> getIndexingComponents(Path p,
187187
currentCompIndex++;
188188
}
189189
if (indexingComps.isEmpty()) {
190-
throw new IllegalArgumentException("Invalid MIP name found for " + p.getFileName() + "[" + p + "]");
190+
LOG.warn("Invalid MIP name found for {}[{}]", p.getFileName(), p);
191191
}
192192
return indexingComps;
193193
}

0 commit comments

Comments
 (0)