Convert classmethod to staticmethod.
Addresses https://github.com/jensengroup/propka-3.1/pull/40#discussion_r429570235 and https://github.com/jensengroup/propka-3.1/pull/40#discussion_r429570322
This commit is contained in:
@@ -377,8 +377,8 @@ class BondMaker:
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@classmethod
|
@staticmethod
|
||||||
def has_bond(cls, atom1, atom2):
|
def has_bond(atom1, atom2):
|
||||||
"""Look for bond between two atoms.
|
"""Look for bond between two atoms.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
@@ -391,8 +391,8 @@ class BondMaker:
|
|||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@classmethod
|
@staticmethod
|
||||||
def make_bond(cls, atom1, atom2):
|
def make_bond(atom1, atom2):
|
||||||
"""Makes a bond between atom1 and atom2
|
"""Makes a bond between atom1 and atom2
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
|||||||
Reference in New Issue
Block a user