Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
martimunicoy committed Jul 29, 2022
1 parent 2d221e3 commit c2fd08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frag_pele/Helpers/correct_fragment_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def main(pdb_path, lig_chain="L"):
counters = {i: elements.count(i) for i in list_of_unique_elements}
counter = counters[line[76:78]]
new_name = "{}{}".format(line[76:78].strip().upper(), counter)
while new_name < 4:
while len(new_name) < 4:
new_name = new_name + " "
dictionary_to_transcript[line[12:16]] = new_name
line = list(line)
Expand Down

0 comments on commit c2fd08d

Please sign in to comment.