def subscribe(self, callback):
        if callback in self.callbacks:
            return
        self.callbacks.append(callback)
        for dist in self:
            callback(dist)
Locally optimize the coordinates.
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/_vendor/pkg_resources/__init__.py/WorkingSet.subscribe--crossover with--dataset/ETHPy150Open oddt/oddt/oddt/toolkits/rdk.py/Molecule.localopt