Result of automatic reformatting (pyupgrade via new pre-commit hook).

This commit is contained in:
Ralf W. Grosse-Kunstleve 2021-07-13 06:20:01 -07:00
parent 88cc350075
commit 3f55b36dbb

View File

@ -133,7 +133,12 @@ def run(args):
pflush(nb_label, " ".join(["%.3f" % v for v in row]))
pflush(" Min Mean Max")
for key, rat in ratios.items():
print(key, "%5.3f %5.3f %5.3f" % (min(rat), sum(rat) / len(rat), max(rat)))
print(
key,
"{:5.3f} {:5.3f} {:5.3f}".format(
min(rat), sum(rat) / len(rat), max(rat)
),
)
if __name__ == "__main__":