From 810750cdd75845a60943d2fd5ed5b9c3e28802dd Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Tue, 21 Jul 2020 13:05:41 +0200 Subject: [PATCH] Fix pI reporting in last line of .pka file --- propka/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/propka/output.py b/propka/output.py index 3e38876..f8784d3 100644 --- a/propka/output.py +++ b/propka/output.py @@ -332,7 +332,7 @@ def get_charge_profile_section(protein, conformation='AVR', _=None): if pi_pro is None or pi_mod is None: str_ += "Could not determine the pI\n\n" else: - str_ += ("The pI is {0:>5.2f} (folded) and {1:>5.2f} (unfolded)\n") + str_ += f"The pI is {pi_pro:>5.2f} (folded) and {pi_mod:>5.2f} (unfolded)\n" return str_