File tree Expand file tree Collapse file tree 4 files changed +136
-12
lines changed
example_workflows/arithmetic Expand file tree Collapse file tree 4 files changed +136
-12
lines changed Original file line number Diff line number Diff line change 232232 }
233233 ],
234234 "execution_count" : 15
235+ },
236+ {
237+ "metadata" : {},
238+ "cell_type" : " markdown" ,
239+ "source" : " ## Load Workflow with pyiron_workflow"
240+ },
241+ {
242+ "metadata" : {},
243+ "cell_type" : " code" ,
244+ "outputs" : [],
245+ "execution_count" : null ,
246+ "source" : " from python_workflow_definition.pyiron_workflow import load_workflow_json"
247+ },
248+ {
249+ "metadata" : {},
250+ "cell_type" : " code" ,
251+ "outputs" : [],
252+ "execution_count" : null ,
253+ "source" : " wf = load_workflow_json(file_name=workflow_json_filename)"
254+ },
255+ {
256+ "metadata" : {},
257+ "cell_type" : " code" ,
258+ "outputs" : [],
259+ "execution_count" : null ,
260+ "source" : " wf.draw(size=(10,10))"
261+ },
262+ {
263+ "metadata" : {},
264+ "cell_type" : " code" ,
265+ "outputs" : [],
266+ "execution_count" : null ,
267+ "source" : " wf.run()"
235268 }
236269 ]
237270}
Original file line number Diff line number Diff line change 369369 }
370370 },
371371 {
372- "id" : " c199b28f3c0399cc" ,
372+ "metadata" : {},
373+ "cell_type" : " markdown" ,
374+ "source" : " ## Load Workflow with pyiron_workflow" ,
375+ "id" : " 7da4733bfeffee63"
376+ },
377+ {
378+ "metadata" : {},
379+ "cell_type" : " code" ,
380+ "outputs" : [],
381+ "execution_count" : null ,
382+ "source" : " from python_workflow_definition.pyiron_workflow import load_workflow_json" ,
383+ "id" : " 6c87661996ff840b"
384+ },
385+ {
386+ "metadata" : {},
387+ "cell_type" : " code" ,
388+ "outputs" : [],
389+ "execution_count" : null ,
390+ "source" : " wf = load_workflow_json(file_name=workflow_json_filename)" ,
391+ "id" : " 33b1e9408924f9c0"
392+ },
393+ {
394+ "metadata" : {},
395+ "cell_type" : " code" ,
396+ "outputs" : [],
397+ "execution_count" : null ,
398+ "source" : " wf.draw(size=(10,10))" ,
399+ "id" : " df63b2963a0d90a5"
400+ },
401+ {
402+ "metadata" : {},
373403 "cell_type" : " code" ,
374- "source" : " " ,
375- "metadata" : {
376- "collapsed" : false ,
377- "jupyter" : {
378- "outputs_hidden" : false
379- },
380- "trusted" : true
381- },
382404 "outputs" : [],
383- "execution_count" : null
405+ "execution_count" : null ,
406+ "source" : " wf.run()" ,
407+ "id" : " bf110395454bd694"
384408 }
385409 ]
386410}
Original file line number Diff line number Diff line change 274274 ],
275275 "execution_count" : 18
276276 },
277+ {
278+ "metadata" : {},
279+ "cell_type" : " markdown" ,
280+ "source" : " ## Load Workflow with pyiron_workflow" ,
281+ "id" : " 406fd07dd4bd8006"
282+ },
277283 {
278284 "id" : " cf76f305-24de-45a7-be8e-cfe45cd6458e" ,
279285 "cell_type" : " code" ,
280- "source" : " " ,
286+ "source" : " from python_workflow_definition.pyiron_workflow import load_workflow_json " ,
281287 "metadata" : {
282- "trusted" : true
288+ "trusted" : true ,
289+ "ExecuteTime" : {
290+ "end_time" : " 2025-05-24T08:25:33.797570Z" ,
291+ "start_time" : " 2025-05-24T08:25:33.771214Z"
292+ }
283293 },
284294 "outputs" : [],
285295 "execution_count" : null
296+ },
297+ {
298+ "metadata" : {},
299+ "cell_type" : " code" ,
300+ "outputs" : [],
301+ "execution_count" : null ,
302+ "source" : " wf = load_workflow_json(file_name=workflow_json_filename)" ,
303+ "id" : " 5b442611457aa5a8"
304+ },
305+ {
306+ "metadata" : {},
307+ "cell_type" : " code" ,
308+ "outputs" : [],
309+ "execution_count" : null ,
310+ "source" : " wf.draw(size=(10,10))" ,
311+ "id" : " 2ca33c8590a54866"
312+ },
313+ {
314+ "metadata" : {},
315+ "cell_type" : " code" ,
316+ "outputs" : [],
317+ "execution_count" : null ,
318+ "source" : " wf.run()" ,
319+ "id" : " d36522a1c315b7f5"
286320 }
287321 ]
288322}
Original file line number Diff line number Diff line change 288288 ],
289289 "execution_count" : 17
290290 },
291+ {
292+ "metadata" : {},
293+ "cell_type" : " markdown" ,
294+ "source" : " ## Load Workflow with pyiron_workflow"
295+ },
296+ {
297+ "metadata" : {},
298+ "cell_type" : " code" ,
299+ "outputs" : [],
300+ "execution_count" : null ,
301+ "source" : " from python_workflow_definition.pyiron_workflow import load_workflow_json"
302+ },
303+ {
304+ "metadata" : {},
305+ "cell_type" : " code" ,
306+ "outputs" : [],
307+ "execution_count" : null ,
308+ "source" : " wf = load_workflow_json(file_name=workflow_json_filename)"
309+ },
310+ {
311+ "metadata" : {},
312+ "cell_type" : " code" ,
313+ "outputs" : [],
314+ "execution_count" : null ,
315+ "source" : " wf.draw(size=(10,10))"
316+ },
317+ {
318+ "metadata" : {},
319+ "cell_type" : " code" ,
320+ "outputs" : [],
321+ "execution_count" : null ,
322+ "source" : " wf.run()"
323+ },
291324 {
292325 "cell_type" : " markdown" ,
293326 "source" : " ## Python" ,
You can’t perform that action at this time.
0 commit comments