Skip to content

Commit

Permalink
have bending as threefold tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrunewald committed Sep 24, 2023
1 parent e64c2df commit 0cda66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polyply/src/build_file_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _bending(self, line, lineno=0):
directive and stores it.
"""
resA, resB, resC, bending_const = line.split()
self.topology.bending[frozenset([resA, resB, resC])] = float(bending_const)
self.topology.bending[(resA, resB, resC)] = float(bending_const)

Check warning on line 185 in polyply/src/build_file_parser.py

View check run for this annotation

Codecov / codecov/patch

polyply/src/build_file_parser.py#L184-L185

Added lines #L184 - L185 were not covered by tests

def finalize_section(self, previous_section, ended_section):
"""
Expand Down

0 comments on commit 0cda66e

Please sign in to comment.