From 519d5dd76c79439706aa838597ca4fd9b782b647 Mon Sep 17 00:00:00 2001 From: Pranav Khade Date: Sat, 29 Jun 2024 15:26:27 -0700 Subject: [PATCH] ruff fix test 2 --- packman/apps/dci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packman/apps/dci.py b/packman/apps/dci.py index 0461df9..bb41f6d 100644 --- a/packman/apps/dci.py +++ b/packman/apps/dci.py @@ -42,7 +42,7 @@ class DCI(): def __init__(self, mol, cutoff = 7.0, chain = None, n_com = None): self.molObj = mol - assert type( self.molObj ) == Protein, "mol should be a packman.molecule.Protein object." + assert isinstance(self.molObj, Protein) == True, "mol should be a packman.molecule.Protein object." if chain: self.atoms = [i for i in self.molObj[0][chain].get_calpha()]