From db8571414e01b7451790c54450f90aa875cbd180 Mon Sep 17 00:00:00 2001 From: Nathan Baker Date: Sat, 23 May 2020 13:11:38 -0700 Subject: [PATCH] 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 --- propka/bonds.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/propka/bonds.py b/propka/bonds.py index f8f5e03..d77645b 100644 --- a/propka/bonds.py +++ b/propka/bonds.py @@ -377,8 +377,8 @@ class BondMaker: except KeyError: pass - @classmethod - def has_bond(cls, atom1, atom2): + @staticmethod + def has_bond(atom1, atom2): """Look for bond between two atoms. Args: @@ -391,8 +391,8 @@ class BondMaker: return True return False - @classmethod - def make_bond(cls, atom1, atom2): + @staticmethod + def make_bond(atom1, atom2): """Makes a bond between atom1 and atom2 Args: