Skip to content

Commit d913dcd

Browse files
author
Oliver Scott
committed
spell check!
1 parent 0be9168 commit d913dcd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scaffoldgraph/core/scaffold.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def get_canonical_identifier(self):
218218
return self.hash_func(self.mol)
219219
return self.smiles
220220

221-
def clear_cached_attribuites(self):
221+
def clear_cached_attributes(self):
222222
"""Clear all cached attributes."""
223223
setattr(self, '_atoms', None)
224224
setattr(self, '_bonds', None)
@@ -258,7 +258,7 @@ def __getstate__(self):
258258

259259
def __setstate__(self, state):
260260
self.mol, self.hash_func = state
261-
self.clear_cached_attribuites()
261+
self.clear_cached_attributes()
262262

263263
def __bool__(self):
264264
"""Returns True if the molecule contains at least 1 atom."""

0 commit comments

Comments
 (0)