Skip to content

Commit

Permalink
Fix minor bug in impact template reader
Browse files Browse the repository at this point in the history
  • Loading branch information
martimunicoy committed Jun 9, 2021
1 parent 377862a commit 5ed83a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions peleffy/forcefield/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,8 @@ def reindex_atom_idx(list_params, dict_index):
type_info = 'phi'
elif 'IPHI' in line:
type_info = 'iphi'
elif 'END' in line:
break
else:
if type_info == 'tag':
tag.append(line)
Expand Down

0 comments on commit 5ed83a0

Please sign in to comment.