From 07b75925fe1918918d8d3b6ae498a8164f63622e Mon Sep 17 00:00:00 2001 From: Kirk Byers Date: Tue, 17 Dec 2024 10:35:00 -0800 Subject: [PATCH] Fixing nbval test issue with dictionary sort order and threads --- docs/tutorial/processors.ipynb | 74 +++++++++++++++++----------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/docs/tutorial/processors.ipynb b/docs/tutorial/processors.ipynb index e15623eb..95561a3d 100644 --- a/docs/tutorial/processors.ipynb +++ b/docs/tutorial/processors.ipynb @@ -235,26 +235,34 @@ "text": [ "{\n", " \"bye!\": {\n", - " \"started\": true,\n", + " \"completed\": true,\n", + " \"host1.bma\": {\n", + " \"completed\": true,\n", + " \"result\": \"bye! my name is host1.bma\"\n", + " },\n", " \"host1.cmh\": {\n", " \"completed\": true,\n", " \"result\": \"bye! my name is host1.cmh\"\n", " },\n", + " \"host2.bma\": {\n", + " \"completed\": true,\n", + " \"result\": \"bye! my name is host2.bma\"\n", + " },\n", " \"host2.cmh\": {\n", " \"completed\": true,\n", " \"result\": \"bye! my name is host2.cmh\"\n", " },\n", - " \"spine00.cmh\": {\n", + " \"leaf00.bma\": {\n", " \"completed\": true,\n", - " \"result\": \"bye! my name is spine00.cmh\"\n", + " \"result\": \"bye! my name is leaf00.bma\"\n", " },\n", " \"leaf00.cmh\": {\n", " \"completed\": true,\n", " \"result\": \"bye! my name is leaf00.cmh\"\n", " },\n", - " \"spine01.cmh\": {\n", + " \"leaf01.bma\": {\n", " \"completed\": true,\n", - " \"result\": \"bye! my name is spine01.cmh\"\n", + " \"result\": \"bye! my name is leaf01.bma\"\n", " },\n", " \"leaf01.cmh\": {\n", " \"completed\": true,\n", @@ -264,49 +272,49 @@ " \"completed\": true,\n", " \"result\": \"bye! my name is spine00.bma\"\n", " },\n", - " \"host1.bma\": {\n", - " \"completed\": true,\n", - " \"result\": \"bye! my name is host1.bma\"\n", - " },\n", - " \"host2.bma\": {\n", + " \"spine00.cmh\": {\n", " \"completed\": true,\n", - " \"result\": \"bye! my name is host2.bma\"\n", + " \"result\": \"bye! my name is spine00.cmh\"\n", " },\n", " \"spine01.bma\": {\n", " \"completed\": true,\n", " \"result\": \"bye! my name is spine01.bma\"\n", " },\n", - " \"leaf00.bma\": {\n", + " \"spine01.cmh\": {\n", " \"completed\": true,\n", - " \"result\": \"bye! my name is leaf00.bma\"\n", + " \"result\": \"bye! my name is spine01.cmh\"\n", " },\n", - " \"leaf01.bma\": {\n", + " \"started\": true\n", + " },\n", + " \"hi!\": {\n", + " \"completed\": true,\n", + " \"host1.bma\": {\n", " \"completed\": true,\n", - " \"result\": \"bye! my name is leaf01.bma\"\n", + " \"result\": \"hi! my name is host1.bma\"\n", " },\n", - " \"completed\": true\n", - " }\n", - " \"hi!\": {\n", - " \"started\": true,\n", " \"host1.cmh\": {\n", " \"completed\": true,\n", " \"result\": \"hi! my name is host1.cmh\"\n", " },\n", + " \"host2.bma\": {\n", + " \"completed\": true,\n", + " \"result\": \"hi! my name is host2.bma\"\n", + " },\n", " \"host2.cmh\": {\n", " \"completed\": true,\n", " \"result\": \"hi! my name is host2.cmh\"\n", " },\n", - " \"spine00.cmh\": {\n", + " \"leaf00.bma\": {\n", " \"completed\": true,\n", - " \"result\": \"hi! my name is spine00.cmh\"\n", + " \"result\": \"hi! my name is leaf00.bma\"\n", " },\n", " \"leaf00.cmh\": {\n", " \"completed\": true,\n", " \"result\": \"hi! my name is leaf00.cmh\"\n", " },\n", - " \"spine01.cmh\": {\n", + " \"leaf01.bma\": {\n", " \"completed\": true,\n", - " \"result\": \"hi! my name is spine01.cmh\"\n", + " \"result\": \"hi! my name is leaf01.bma\"\n", " },\n", " \"leaf01.cmh\": {\n", " \"completed\": true,\n", @@ -316,28 +324,20 @@ " \"completed\": true,\n", " \"result\": \"hi! my name is spine00.bma\"\n", " },\n", - " \"host1.bma\": {\n", - " \"completed\": true,\n", - " \"result\": \"hi! my name is host1.bma\"\n", - " },\n", - " \"host2.bma\": {\n", + " \"spine00.cmh\": {\n", " \"completed\": true,\n", - " \"result\": \"hi! my name is host2.bma\"\n", + " \"result\": \"hi! my name is spine00.cmh\"\n", " },\n", " \"spine01.bma\": {\n", " \"completed\": true,\n", " \"result\": \"hi! my name is spine01.bma\"\n", " },\n", - " \"leaf00.bma\": {\n", - " \"completed\": true,\n", - " \"result\": \"hi! my name is leaf00.bma\"\n", - " },\n", - " \"leaf01.bma\": {\n", + " \"spine01.cmh\": {\n", " \"completed\": true,\n", - " \"result\": \"hi! my name is leaf01.bma\"\n", + " \"result\": \"hi! my name is spine01.cmh\"\n", " },\n", - " \"completed\": true\n", - " },\n", + " \"started\": true\n", + " }\n", "}\n" ] }