welfare-state-analytics / welfare_state_analytics

Welfare State Analytics
5 stars 0 forks source link

UI action results in repeated (multiple) outputs #139

Closed roger-mahler closed 3 years ago

roger-mahler commented 3 years ago

Reported by @Stubbendorff

Re-running the init cell in the notebook seems to add multiple event handles to UI controller. This results in events being handled multiple times e.g. multiple files downloaded, or same output duplicated. This is most likely caused by some dangling object not being reset when the cell are re-executed.

https://github.com/welfare-state-analytics/welfare_state_analytics/blob/008fb88b089966648cfc02281e0e92480f0ac5c3/notebooks/co_occurrence/co_occurrence_trends.py#L112-L112

roger-mahler commented 3 years ago

Fixed by humlab/penelope#83