Closed caseyolen closed 9 months ago
Override del_atom in molecule class to fix the problem:
def del_atom(self, _a: AtomLike):
ai = self.index_atom(_a)
self._atomic_charges = np.delete(self._atomic_charges, ai, 0)
super().del_atom(_a)
Should be fixed in an upcoming PR. Stay tuned!