##// END OF EJS Templates
Don't use widget.description as kwarg key...
Min RK -
Show More
@@ -155,6 +155,7 b' def _widgets_from_abbreviations(seq):'
155 widget = _widget_from_abbrev(abbrev, default)
155 widget = _widget_from_abbrev(abbrev, default)
156 if not widget.description:
156 if not widget.description:
157 widget.description = name
157 widget.description = name
158 widget._kwarg = name
158 result.append(widget)
159 result.append(widget)
159 return result
160 return result
160
161
@@ -194,7 +195,7 b' def interactive(__interact_f, **kwargs):'
194 container.kwargs = {}
195 container.kwargs = {}
195 for widget in kwargs_widgets:
196 for widget in kwargs_widgets:
196 value = widget.value
197 value = widget.value
197 container.kwargs[widget.description] = value
198 container.kwargs[widget._kwarg] = value
198 if co:
199 if co:
199 clear_output(wait=True)
200 clear_output(wait=True)
200 if manual:
201 if manual:
General Comments 0
You need to be logged in to leave comments. Login now