Skip to content

Commit 7a66232

Browse files
Fix more deepimagej issues
1 parent e684028 commit 7a66232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bioimageio/core/build_spec/build_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def _get_deepimagej_macro(name, kwargs, export_folder):
281281

282282
elif name == "binarize":
283283
macro = "binarize.ijm"
284-
replace = {"optimalThreshold", kwargs["threshold"]}
284+
replace = {"optimalThreshold": kwargs["threshold"]}
285285

286286
else:
287287
raise ValueError(f"Macro {name} is not available, must be one of {macro_names}.")

0 commit comments

Comments
 (0)