Skip to content

Commit

Permalink
Update missing_loops.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkastner committed Oct 16, 2023
1 parent 8123ff6 commit f1b6266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qp/structure/missing_loops.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def write_alignment(residues, pdb, path, out):
f.write(f">P1;{pdb}_fill\nsequence:::::::::\n{seq_fill}*\n")


def fix_pdb_numbering(pdb_content):
def fix_numbering(pdb_content):
"""Handles insertion codes from Modeller."""

lines = pdb_content.split('\n')
Expand Down Expand Up @@ -340,7 +340,7 @@ def special_patches(self, aln): # renumber residues to avoid hybrid-36 notation
with open(file, 'r') as f:
content = f.read()

corrected_content = fix_pdb_numbering(content)
corrected_content = fix_numbering(content)
with open(file, 'w') as f:
f.write(corrected_content)

Expand Down

0 comments on commit f1b6266

Please sign in to comment.