From c9216019146960c8ba987fc8aa723fd41a805ac2 Mon Sep 17 00:00:00 2001 From: carlosuc3m <100329787@alumnos.uc3m.es> Date: Mon, 20 Jan 2025 18:00:00 +0100 Subject: [PATCH] correct a couple of errors --- .../bioimage/modelrunner/bioimageio/description/AxisSize.java | 2 +- .../io/bioimage/modelrunner/bioimageio/description/AxisV05.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/bioimage/modelrunner/bioimageio/description/AxisSize.java b/src/main/java/io/bioimage/modelrunner/bioimageio/description/AxisSize.java index 7729b45a..b287e431 100644 --- a/src/main/java/io/bioimage/modelrunner/bioimageio/description/AxisSize.java +++ b/src/main/java/io/bioimage/modelrunner/bioimageio/description/AxisSize.java @@ -24,7 +24,7 @@ public class AxisSize { private int min = 1; - private int step = 0; + private int step = 1; private double offset = 0; private String axisID; private String ref; diff --git a/src/main/java/io/bioimage/modelrunner/bioimageio/description/AxisV05.java b/src/main/java/io/bioimage/modelrunner/bioimageio/description/AxisV05.java index c1786f4f..9b0849b0 100644 --- a/src/main/java/io/bioimage/modelrunner/bioimageio/description/AxisV05.java +++ b/src/main/java/io/bioimage/modelrunner/bioimageio/description/AxisV05.java @@ -30,7 +30,7 @@ public class AxisV05 implements Axis{ private List channelNames; private final String abreviation; private boolean concat = false; - private double scale = -1.0; + private double scale = 1.0; private AxisSize size; protected int halo = 0;