Skip to content

Commit

Permalink
Fix: don't collapse entries in "reason" to "other"
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueBrain committed Feb 12, 2024
1 parent 0681e80 commit d531a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysis/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def main():
data["(not reported)"] = version_summary["summary"]["seconds"] - total

# Collapse entries below 0.1% to a single (other) entry, and not true/false.
if path != "summary":
if path not in ("summary", "reason"):
collapse = []
for key, value in data.items():
if value / total < 0.001 and key not in ("true", "false", "(not reported)"):
Expand Down

0 comments on commit d531a43

Please sign in to comment.