From a9d2fdafef25dad44891bee1425a9ed4bf125c8b Mon Sep 17 00:00:00 2001 From: carlosuc3m <100329787@alumnos.uc3m.es> Date: Thu, 26 Oct 2023 18:13:57 +0200 Subject: [PATCH] correct small javadoc error --- .../bioimage/modelrunner/bioimageio/description/ShapeSpec.java | 2 +- src/main/java/io/bioimage/modelrunner/model/Model.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/bioimage/modelrunner/bioimageio/description/ShapeSpec.java b/src/main/java/io/bioimage/modelrunner/bioimageio/description/ShapeSpec.java index 32d35c48..e6ede107 100644 --- a/src/main/java/io/bioimage/modelrunner/bioimageio/description/ShapeSpec.java +++ b/src/main/java/io/bioimage/modelrunner/bioimageio/description/ShapeSpec.java @@ -173,7 +173,7 @@ public float[] getScale() * always be divisible by 0.5 * @param offset * the output offset - * @throws ParseException if the offset is not divisible by 0.5 + * @throws ModelSpecsException if the offset is not divisible by 0.5 */ public void setOffset(float[] offset) throws ModelSpecsException { for (float ff : offset) { diff --git a/src/main/java/io/bioimage/modelrunner/model/Model.java b/src/main/java/io/bioimage/modelrunner/model/Model.java index 463f407a..f78b53c2 100644 --- a/src/main/java/io/bioimage/modelrunner/model/Model.java +++ b/src/main/java/io/bioimage/modelrunner/model/Model.java @@ -379,6 +379,7 @@ public static Model createBioimageioModelWithExactWeigths(String bmzModelFolder, * @throws LoadEngineException if there is any error loading the DL framework * @throws IOException if there is any error finding the engines in the system * @throws IllegalStateException if any of the installed DL engines have been manipulated incorrectly + * @throws MalformedURLException if the JAR files are not well defined in the .json file */ public static Model createDeepLearningModel( String modelFolder, String modelSource, EngineInfo engineInfo, ClassLoader classLoader ) throws LoadEngineException, MalformedURLException, IllegalStateException, IOException