We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0be9168 commit d913dcdCopy full SHA for d913dcd
1 file changed
scaffoldgraph/core/scaffold.py
@@ -218,7 +218,7 @@ def get_canonical_identifier(self):
218
return self.hash_func(self.mol)
219
return self.smiles
220
221
- def clear_cached_attribuites(self):
+ def clear_cached_attributes(self):
222
"""Clear all cached attributes."""
223
setattr(self, '_atoms', None)
224
setattr(self, '_bonds', None)
@@ -258,7 +258,7 @@ def __getstate__(self):
258
259
def __setstate__(self, state):
260
self.mol, self.hash_func = state
261
- self.clear_cached_attribuites()
+ self.clear_cached_attributes()
262
263
def __bool__(self):
264
"""Returns True if the molecule contains at least 1 atom."""
0 commit comments