Skip to content

Commit

Permalink
Fixed a typo in test lose charge
Browse files Browse the repository at this point in the history
  • Loading branch information
ssun30 authored and rwest committed Apr 1, 2024
1 parent 9a07b44 commit a2fce51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rmgpy/molecule/groupTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def test_apply_action_lose_charge(self):
assert a in atom.atomtype,"LOSE_CHARGE on {0} gave {1} not {2}".format(atomtype, atom.atomtype,
atomtype.decrement_charge)
# self.assertEqual(atom0.radical_electrons, [r - 1 for r in atom.radical_electrons])
assert atom0.charge == [c - 1 for c in atom.charge]
assert atom0.charge == [c + 1 for c in atom.charge]
assert atom0.label == atom.label
assert atom0.lone_pairs == atom.lone_pairs
except ActionError:
Expand Down

0 comments on commit a2fce51

Please sign in to comment.