Skip to content

Commit

Permalink
Switch order of operations
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Jan 17, 2025
1 parent f1a5944 commit 64572ee
Showing 1 changed file with 21 additions and 13 deletions.
34 changes: 21 additions & 13 deletions docs/developer/gui.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -171,20 +171,12 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"nbsphinx": "hidden"
},
"metadata": {},
"outputs": [],
"source": [
"from ess.reduce.ui import WorkflowWidget\n",
"\n",
"# Select Workflow\n",
"ess_widget.children[0].children[0].value = RandomDistributionWorkflow\n",
"# Set Output Parameter\n",
"body_widget: WorkflowWidget = ess_widget.children[1].children[0]\n",
"body_widget.output_selection_box.typical_outputs_widget.value = [Histogram]\n",
"body_widget.parameter_box.parameter_refresh_button.click()\n",
"body_widget.result_box.run_button.click()"
"ess_widget.children[0].children[0].value = RandomDistributionWorkflow"
]
},
{
Expand All @@ -196,6 +188,22 @@
"ess_widget"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Then this line is above `ess_widget` output, it does not seem to freeze.\n",
"# ess_widget.children[0].children[0].value = RandomDistributionWorkflow\n",
"\n",
"body_widget: WorkflowWidget = ess_widget.children[1].children[0]\n",
"body_widget.output_selection_box.typical_outputs_widget.value = [Histogram]\n",
"\n",
"body_widget.parameter_box.parameter_refresh_button.click()\n",
"body_widget.result_box.run_button.click()"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -308,7 +316,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "lime-dev-310",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -322,9 +330,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.14"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}

0 comments on commit 64572ee

Please sign in to comment.