Skip to content
Snippets Groups Projects
Commit 3d78b02c authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

compare: do not carry the previous percentage display around

If no percentage needed to be displayed, we used to display the previous one.
parent bb9748fd
No related branches found
No related tags found
1 merge request!19compare: do not carry the previous percentage display around
Pipeline #58172 passed
......@@ -80,6 +80,8 @@
elif 1.01 <= change:
perc = (change - 1) * 100
display = f"({perc:+.2f}%)".rjust(10)
else:
display = ""
print(f"{key}: {median:6.6f} {display}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment