From 83a7099d79999b49e880fdf854010c8f0b0ab2fd Mon Sep 17 00:00:00 2001 From: Nathan Baker Date: Fri, 29 May 2020 20:37:47 -0700 Subject: [PATCH] Fix my formatting mistakes. Python formatting makes me miss K&R C. --- propka/output.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/propka/output.py b/propka/output.py index b8809f9..61f001b 100644 --- a/propka/output.py +++ b/propka/output.py @@ -203,10 +203,9 @@ def get_summary_section(protein, conformation, parameters): return str_ -def get_folding_profile_section(protein, conformation='AVR', - direction="folding", reference="neutral", - window=[0., 14., 1.0], _=False, - __=None): +def get_folding_profile_section( + protein, conformation='AVR', direction="folding", reference="neutral", + window=[0., 14., 1.0], _=False, __=None): """Returns string with the folding profile section of the results. Args: @@ -245,9 +244,9 @@ def get_folding_profile_section(protein, conformation='AVR', dg_opt)) if dg_min is None or dg_max is None: str_ += "Could not determine pH values where the free energy" - str_ += " is within 80 %% of minimum\n" + str_ += " is within 80 % of minimum\n" else: - str_ += "The free energy is within 80 %% of maximum" + str_ += "The free energy is within 80 % of maximum" str_ += " at pH {0:>4.1f} to {1:>4.1f}\n".format(dg_min, dg_max) if ph_min is None or ph_max is None: str_ += "Could not determine the pH-range where the free"