We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee9d0f0 commit b4be57bCopy full SHA for b4be57b
1 file changed
src/imcflibs/imagej/misc.py
@@ -852,6 +852,8 @@ def save_script_parameters(
852
# TODO: discuss if this approach is fine within Fiji/Jython
853
try:
854
val = inputs.get(key)
855
+ if not val: # required for testing in CPython
856
+ raise KeyError("failure looking up value for '%s'" % key)
857
f.write("%s: %s\n" % (key, str(val)))
858
saved += 1
859
except:
0 commit comments