Skip to content

Commit

Permalink
tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffckerr committed Sep 13, 2023
1 parent dc6fcf2 commit bbd80fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions binomialbias/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ def make_ui(*args, **kwargs):
ui.output_table('stats_table'),
),
),
ui.output_text_verbatim('debug_text'), # Hidden unless debug = True above
ui.output_text_verbatim('reconcile'), # Hidden unless debug = True above TEMP
ui.output_text_verbatim('debug_text'), # Hidden unless debug = True above, but needed for reactivity
),
)
),
Expand Down Expand Up @@ -294,10 +293,11 @@ def stats_table():
@output
@sh.render.text
def debug_text():
""" Debugging """
""" Debugging -- which also happens to handle the reactivity! """
import os
u = get_ui()

# Handle automatic updates
if input.autoupdate():
with sh.reactive.isolate():
reconcile_inputs()
Expand Down

0 comments on commit bbd80fd

Please sign in to comment.