Skip to content

Commit 09ff8fd

Browse files
committed
Remove redundant variables.
1 parent d7c385c commit 09ff8fd

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/BioSimSpace/Sandpit/Exscientia/_SireWrappers/_sire_wrapper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ def _getCenterOfMass(self, space=None, property_map={}):
315315

316316
# Whether this is an atom, molecule or residue, or system.
317317
is_atom = False
318-
is_mol_res = False
319318
is_system = False
320319

321320
# Get the first atom in the object.
@@ -325,7 +324,6 @@ def _getCenterOfMass(self, space=None, property_map={}):
325324
except:
326325
try:
327326
atom = self.getAtoms()[0]
328-
is_mol_res = True
329327
except:
330328
atom = self
331329
is_atom = True

src/BioSimSpace/_SireWrappers/_sire_wrapper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ def _getCenterOfMass(self, space=None, property_map={}):
315315

316316
# Whether this is an atom, molecule or residue, or system.
317317
is_atom = False
318-
is_mol_res = False
319318
is_system = False
320319

321320
# Get the first atom in the object.
@@ -325,7 +324,6 @@ def _getCenterOfMass(self, space=None, property_map={}):
325324
except:
326325
try:
327326
atom = self.getAtoms()[0]
328-
is_mol_res = True
329327
except:
330328
atom = self
331329
is_atom = True

0 commit comments

Comments
 (0)