Skip to content

Commit

Permalink
Trying to fix notebook dict sort issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed Dec 17, 2024
1 parent c69f00b commit 13b31cd
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions docs/tutorial/processors.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -234,117 +234,117 @@
"output_type": "stream",
"text": [
"{\n",
" \"hi!\": {\n",
" \"bye!\": {\n",
" \"started\": true,\n",
" \"host1.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is host1.cmh\"\n",
" \"result\": \"bye! my name is host1.cmh\"\n",
" },\n",
" \"host2.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is host2.cmh\"\n",
" \"result\": \"bye! my name is host2.cmh\"\n",
" },\n",
" \"spine00.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is spine00.cmh\"\n",
" \"result\": \"bye! my name is spine00.cmh\"\n",
" },\n",
" \"spine01.cmh\": {\n",
" \"leaf00.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is spine01.cmh\"\n",
" \"result\": \"bye! my name is leaf00.cmh\"\n",
" },\n",
" \"leaf00.cmh\": {\n",
" \"spine01.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is leaf00.cmh\"\n",
" \"result\": \"bye! my name is spine01.cmh\"\n",
" },\n",
" \"leaf01.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is leaf01.cmh\"\n",
" \"result\": \"bye! my name is leaf01.cmh\"\n",
" },\n",
" \"host1.bma\": {\n",
" \"spine00.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is host1.bma\"\n",
" \"result\": \"bye! my name is spine00.bma\"\n",
" },\n",
" \"host2.bma\": {\n",
" \"host1.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is host2.bma\"\n",
" \"result\": \"bye! my name is host1.bma\"\n",
" },\n",
" \"spine00.bma\": {\n",
" \"host2.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is spine00.bma\"\n",
" \"result\": \"bye! my name is host2.bma\"\n",
" },\n",
" \"spine01.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is spine01.bma\"\n",
" \"result\": \"bye! my name is spine01.bma\"\n",
" },\n",
" \"leaf00.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is leaf00.bma\"\n",
" \"result\": \"bye! my name is leaf00.bma\"\n",
" },\n",
" \"leaf01.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"hi! my name is leaf01.bma\"\n",
" \"result\": \"bye! my name is leaf01.bma\"\n",
" },\n",
" \"completed\": true\n",
" },\n",
" \"bye!\": {\n",
" }\n",
" \"hi!\": {\n",
" \"started\": true,\n",
" \"host1.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is host1.cmh\"\n",
" \"result\": \"hi! my name is host1.cmh\"\n",
" },\n",
" \"host2.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is host2.cmh\"\n",
" \"result\": \"hi! my name is host2.cmh\"\n",
" },\n",
" \"spine00.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is spine00.cmh\"\n",
" \"result\": \"hi! my name is spine00.cmh\"\n",
" },\n",
" \"spine01.cmh\": {\n",
" \"leaf00.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is spine01.cmh\"\n",
" \"result\": \"hi! my name is leaf00.cmh\"\n",
" },\n",
" \"leaf00.cmh\": {\n",
" \"spine01.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is leaf00.cmh\"\n",
" \"result\": \"hi! my name is spine01.cmh\"\n",
" },\n",
" \"leaf01.cmh\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is leaf01.cmh\"\n",
" \"result\": \"hi! my name is leaf01.cmh\"\n",
" },\n",
" \"host1.bma\": {\n",
" \"spine00.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is host1.bma\"\n",
" \"result\": \"hi! my name is spine00.bma\"\n",
" },\n",
" \"host2.bma\": {\n",
" \"host1.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is host2.bma\"\n",
" \"result\": \"hi! my name is host1.bma\"\n",
" },\n",
" \"spine00.bma\": {\n",
" \"host2.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is spine00.bma\"\n",
" \"result\": \"hi! my name is host2.bma\"\n",
" },\n",
" \"spine01.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is spine01.bma\"\n",
" \"result\": \"hi! my name is spine01.bma\"\n",
" },\n",
" \"leaf00.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is leaf00.bma\"\n",
" \"result\": \"hi! my name is leaf00.bma\"\n",
" },\n",
" \"leaf01.bma\": {\n",
" \"completed\": true,\n",
" \"result\": \"bye! my name is leaf01.bma\"\n",
" \"result\": \"hi! my name is leaf01.bma\"\n",
" },\n",
" \"completed\": true\n",
" }\n",
" },\n",
"}\n"
]
}
],
"source": [
"import json\n",
"print(json.dumps(data, indent=4))"
"print(json.dumps(data, indent=4, sort_keys=True))"
]
},
{
Expand Down

0 comments on commit 13b31cd

Please sign in to comment.