File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/io/bioimage/modelrunner/gui Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public interface GuiAdapter {
8686 public String getEnginesDir ();
8787
8888 /**
89- * Create the {@link Runner } used to run a model
89+ * Create the {@link RunnerAdapter } used to run a model
9090 * @param descriptor
9191 * {@link ModelDescriptor} containing information about the model
9292 * @return and object that can be used to run a model
@@ -96,7 +96,7 @@ public interface GuiAdapter {
9696 public RunnerAdapter createRunner (ModelDescriptor descriptor ) throws IOException , LoadEngineException ;
9797
9898 /**
99- * Create the {@link Runner } used to run a model
99+ * Create the {@link RunnerAdapter } used to run a model
100100 * @param descriptor
101101 * {@link ModelDescriptor} containing information about the model
102102 * @param enginesPath
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ private void saveParams() {
172172 map .put ("model" , this .customModelPathField .getText ());
173173 else
174174 map .put ("model" , modelPath );
175- map .put ("prob_thresh" , "" + this .thresholdSlider .getSlider ().getValue ());
175+ map .put ("prob_thresh" , "" + this .thresholdSlider .getSlider ().getValue () / 1000d );
176176 map .put ("min_percentile" , "" + this .optionalParams .getMinPercField ().getValue ());
177177 map .put ("max_percentile" , "" + this .optionalParams .getMaxPercField ().getValue ());
178178 this .consumer .notifyParams (map );
You can’t perform that action at this time.
0 commit comments