Closed mlovci closed 10 years ago
can you give the full call and traceback?
sc_study.interactive_classifier()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-10-28efd125c982> in <module>()
----> 1 sc_study.interactive_classifier()
/Users/lovci/Projects/flotilla/flotilla/_schooner_data_model/_Study.pyc in interactive_classifier(self)
420 not i.startswith("~")],
421 feature_score_std_cutoff=(0.1, 20),
--> 422 draw_labels=False,
423 )
424
/Users/lovci/venv/lib/python2.7/site-packages/IPython/html/widgets/interaction.pyc in interact(__interact_f, **kwargs)
234 # ...
235 f = __interact_f
--> 236 w = interactive(f, **kwargs)
237 f.widget = w
238 display(w)
/Users/lovci/venv/lib/python2.7/site-packages/IPython/html/widgets/interaction.pyc in interactive(__interact_f, **kwargs)
189 getcallargs(f, **{n:v for n,v,_ in new_kwargs})
190 # Now build the widgets from the abbreviations.
--> 191 kwargs_widgets.extend(_widgets_from_abbreviations(new_kwargs))
192
193 # This has to be done as an assignment, not using container.children.append,
/Users/lovci/venv/lib/python2.7/site-packages/IPython/html/widgets/interaction.pyc in _widgets_from_abbreviations(seq)
166 result = []
167 for name, abbrev, default in seq:
--> 168 widget = _widget_from_abbrev(abbrev, default)
169 if not widget.description:
170 widget.description = name
/Users/lovci/venv/lib/python2.7/site-packages/IPython/html/widgets/interaction.pyc in _widget_from_abbrev(abbrev, default)
126 pass
127 if widget is None:
--> 128 raise ValueError("%r cannot be transformed to a Widget" % (abbrev,))
129 return widget
130
ValueError: [] cannot be transformed to a Widget
EDIT: formatted to code
ValueError: [] cannot be transformed to a Widget