Skip to content

Commit

Permalink
Adjust atom indices when reading 'Improper Topologies' by subtracting 1
Browse files Browse the repository at this point in the history
  • Loading branch information
rashatwi committed Dec 13, 2023
1 parent d2a08c6 commit 9d8264b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mispr/lammps/utilities/opls.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def convert_ff_log_to_json(self):
"Angles": angle_data,
"Dihedrals": dihedral_data,
"Impropers": improper_data,
"Improper Topologies": improper_top_data,
"Improper Topologies": [[i - 1 for i in j] for j in improper_top_data if j],
"Charges": charges,
}
return ff_params
Expand Down

0 comments on commit 9d8264b

Please sign in to comment.