Skip to content

Commit

Permalink
Remove redundant "or" statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwest committed Nov 13, 2019
1 parent 81593f0 commit df170e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmgpy/molecule/molecule.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def is_van_der_waals(self):
Return ``True`` if the bond represents a van der Waals bond or
``False`` if not.
"""
return self.is_order(0) or self.order == 'vdW' # todo: remove 'vdW'
return self.is_order(0)

def is_order(self, other_order):
"""
Expand Down

0 comments on commit df170e4

Please sign in to comment.