Skip to content

Commit

Permalink
Fix missing fstring on error message
Browse files Browse the repository at this point in the history
  • Loading branch information
marinegor committed Jul 21, 2024
1 parent 1bf58cc commit 46ec401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/MDAnalysis/analysis/dssp/dssp.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def __init__(
):
raise ValueError(
(
"Residue {calpha.residue} contains wrong number of hydrogens: "
f"Residue {calpha.residue} contains wrong number of hydrogens: "
"exactly 1 hydrogen is expected for non-PRO residues, and "
"zero hydrogens for PRO residues."
)
Expand Down

0 comments on commit 46ec401

Please sign in to comment.