humlab / penelope

Pipleline for generating data used in text analytics notebooks. Used by Welfare State Analytics, INIDUN and several other research projects.
5 stars 1 forks source link

TypeError occurs when loading DTM #164

Closed roger-mahler closed 2 years ago

roger-mahler commented 2 years ago
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
File /venv/lib/python3.9/site-packages/ipywidgets/widgets/widget_output.py:103, in Output.capture.<locals>.capture_decorator.<locals>.inner(*args, **kwargs)
    101     self.clear_output(*clear_args, **clear_kwargs)
    102 with self:
--> 103     return func(*args, **kwargs)

TypeError: loaded_callback() missing 2 required positional arguments: 'corpus_folder' and 'corpus_tag'

https://github.com/humlab/penelope/blob/8a752ed5091fcc451968bab06d77f30e01b2792b/penelope/notebook/word_trends/main_gui.py#L25