Skip to content

Commit a085d65

Browse files
committed
fix libary order in rendered summary
1 parent 6c3d6c0 commit a085d65

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

example/load_model_and_create_your_own.ipynb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,6 @@
11971197
"output_type": "stream",
11981198
"text": [
11991199
"Level 35\u001b[0m | \u001b[36mfield_warning\u001b[0m - tags: Needs to be filled for FAIR compliance\u001b[0m\n",
1200-
"Level 30\u001b[0m | \u001b[36mv0_5\u001b[0m - covers: Failed to generate cover image(s): Failed to construct cover image from shape (1, 2, 256, 256)\u001b[0m\n",
12011200
"created 'My cool Model'\n"
12021201
]
12031202
}
@@ -1372,13 +1371,13 @@
13721371
" <td>model 0.5.5</td>\n",
13731372
" </tr>\n",
13741373
" <tr>\n",
1375-
" <td>bioimageio.spec</td>\n",
1376-
" <td>0.5.5.5</td>\n",
1377-
" </tr>\n",
1378-
" <tr>\n",
13791374
" <td>bioimageio.core</td>\n",
13801375
" <td>0.9.3</td>\n",
13811376
" </tr>\n",
1377+
" <tr>\n",
1378+
" <td>bioimageio.spec</td>\n",
1379+
" <td>0.5.5.5</td>\n",
1380+
" </tr>\n",
13821381
"</table>\n",
13831382
"<table>\n",
13841383
" <tr>\n",

src/bioimageio/spec/summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ def get_info_table():
646646

647647
info_rows.append(["format version", f"{summary.type} {summary.format_version}"])
648648
if not hide_env:
649-
info_rows.extend([[e.name, e.version] for e in summary.env])
649+
info_rows.extend([[e.name, e.version] for e in sorted(summary.env)])
650650

651651
if include_conda_list:
652652
info_rows.append(

0 commit comments

Comments
 (0)