Skip to content

Commit b516b7b

Browse files
committed
display summary with rich
1 parent 36be7e3 commit b516b7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bioimageio/core/commands.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test(
6464
devices=[devices] if isinstance(devices, str) else devices,
6565
decimal=decimal,
6666
)
67-
print(summary.format())
67+
summary.display()
6868
sys.exit(0 if summary.status == "passed" else 1)
6969

7070
@staticmethod
@@ -79,7 +79,7 @@ def validate_format(
7979
"""
8080
print(f"\validating meta data format of {source}...")
8181
summary = load_description_and_validate_format_only(source)
82-
print(summary.format())
82+
summary.display()
8383
sys.exit(0 if summary.status == "passed" else 1)
8484

8585

0 commit comments

Comments
 (0)