Skip to content

Commit 25247a8

Browse files
committed
Improve formatting of report.
1 parent 5c19085 commit 25247a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

physionet/validate/models.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,13 @@ def summary(self) -> str:
164164
"=" * 50,
165165
])
166166

167+
first_category = True
167168
for category, result in self.check_results.items():
169+
# Add blank line before each category (except first)
170+
if not first_category:
171+
lines.append("")
172+
first_category = False
173+
168174
# Only show ✗ for errors, ✓ for pass or warnings-only
169175
status_icon = "✗" if result.error_count > 0 else "✓"
170176
issue_summary = ""

0 commit comments

Comments
 (0)