Skip to content

Commit 7710c15

Browse files
committed
correct javadoc and small detail
1 parent e073dad commit 7710c15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/io/bioimage/modelrunner/gui/adapter/GuiAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

src/main/java/io/bioimage/modelrunner/gui/custom/StarDistPluginUI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)