Skip to content

Commit

Permalink
Small bug solved in Growing/AddingFragHelpers/pdb_joiner.py when repl…
Browse files Browse the repository at this point in the history
…acing atom names
  • Loading branch information
carlesperez94 committed Jun 28, 2019
1 parent f02855c commit acab342
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frag_pele/Growing/AddingFragHelpers/pdb_joiner.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ def extract_and_change_atomnames(molecule, selected_resname, core_resname, renam
final_atom_name = atom_name
core_atom_names.append(final_atom_name)
names_dictionary[initial_atom_name] = final_atom_name
else:
names_dictionary[atom_name] = atom_name
for atom in molecule:
if atom.getResname() == selected_resname:
if atom.getName() in names_dictionary:
Expand Down

0 comments on commit acab342

Please sign in to comment.