Skip to content

Commit

Permalink
small improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 16, 2024
1 parent bb0d84d commit b326862
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ private void getOutputTiles() {
.filter(t -> t.getName().equals(intt.getName())).findFirst().orElse(null);
int indTile = inTile.getTileAxesOrder().indexOf(ax.getAxis());
int indIm = inTile.getImageAxesOrder().indexOf(ax.getAxis());
if (indTile == -1 || indIm == -1)
throw new IllegalArgumentException(""
+ "Model specs too complex for JDLL. "
+ "Please contact the team and create and issue attaching the rdf.yaml file"
+ " so we can troubleshoot at: " + Constants.ISSUES_LINK);
if (indTile == -1 || indIm == -1) {
imagSize[i] = (long) ax.getMin();
tileSize[i] = (long) ax.getMin();
continue;
}
double factor = (double) inTile.getImageDims()[indIm] / inTile.getTileDims()[indTile];
if (Math.floor(ax.getMin() * factor) != ax.getMin() * factor)
throw new IllegalArgumentException(""
Expand Down

0 comments on commit b326862

Please sign in to comment.