Skip to content

Commit 6b1bd21

Browse files
committed
Convert Paht to str
1 parent 32c7775 commit 6b1bd21

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/user-guide/dream/workflow-widget-dream.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
"pbox = wfw.parameter_box\n",
6666
"pbox.parameter_refresh_button.click()\n",
6767
"# Set parameters\n",
68-
"pbox._input_widgets[Filename[SampleRun]].children[0].value = dream.data.simulated_diamond_sample()\n",
69-
"pbox._input_widgets[Filename[VanadiumRun]].children[0].value = dream.data.simulated_vanadium_sample()\n",
68+
"pbox._input_widgets[Filename[SampleRun]].children[0].value = str(dream.data.simulated_diamond_sample())\n",
69+
"pbox._input_widgets[Filename[VanadiumRun]].children[0].value = str(dream.data.simulated_vanadium_sample())\n",
7070
"pbox._input_widgets[InstrumentConfiguration].value = InstrumentConfiguration.high_flux\n",
7171
"pbox._input_widgets[DspacingBins].fields[\"stop\"].value = 2.3434\n",
7272
"# Run the workflow\n",
@@ -135,7 +135,8 @@
135135
"mimetype": "text/x-python",
136136
"name": "python",
137137
"nbconvert_exporter": "python",
138-
"pygments_lexer": "ipython3"
138+
"pygments_lexer": "ipython3",
139+
"version": "3.11.10"
139140
}
140141
},
141142
"nbformat": 4,

0 commit comments

Comments
 (0)