wooey / Wooey

A Django app that creates automatic web UIs for Python scripts.
http://wooey.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.13k stars 184 forks source link

ipywidgets #330

Closed andreacortis closed 3 years ago

andreacortis commented 4 years ago

Hello, is there a simple way to include ipywidgets in the scripts?

Chris7 commented 4 years ago

Can you elaborate more? Is this to get an interactive input or an interactive output?

andreacortis commented 4 years ago

What I had in mind was a way to change the parameters of the scripts interactively (during a single run of the script), so that the user could do multiple realizations of the script and perhaps observe a different graph every time, and/or record the output of each set of inputs. I am not sure if this is feasible in wooey.

Chris7 commented 4 years ago

This isn't really possible since Wooey runs a job and then saves its output. There isn't any active kernel running (like jupyter has). To compare parameters, users can use the clone button, which will generate a new job with the previous parameters if they with to tune it.