def restart_at_step(self, step, storage=None):
    '\n        Continue with a loaded pathsampling at a given step\n\n        Notes\n        -----\n        You can only continue from a step that is compatible in the sense\n        that it was previously generated from the pathsampling instance.\n\n        If you want to switch the move scheme you need to create a new\n        pathsampling instance. You can do so with the constructor or using\n        the classmethod `from_step` which simplifies the setup process\n\n        Parameters\n        ----------\n        step : :class:`MCStep`\n            the step to be continued from. You are always free to chose any step\n            which can be used to fork a simulation but for analysis you may\n            only use one path of steps.\n        storage : :class:`Storage`\n            If given this will change the storage used to store the generated\n            steps\n\n        '
    if (step.simulation is not self):
        raise RuntimeWarning('Trying to continue from other step. Please use the `.from_step` method to create a new PathSampling object instead.')
    if (storage is not None):
        self.storage = storage
    self.step = step.mccycle
    self.sample_set = step.active
    self.root = step.simulation.root
    self._current_step = step
Continue with a loaded pathsampling at a given step

Notes
-----
You can only continue from a step that is compatible in the sense
that it was previously generated from the pathsampling instance.

If you want to switch the move scheme you need to create a new
pathsampling instance. You can do so with the constructor or using
the classmethod `from_step` which simplifies the setup process

Parameters
----------
step : :class:`MCStep`
    the step to be continued from. You are always free to chose any step
    which can be used to fork a simulation but for analysis you may
    only use one path of steps.
storage : :class:`Storage`
    If given this will change the storage used to store the generated
    steps
def restart_at_step(self, step, storage=None):
    '\n        Continue with a loaded pathsampling at a given step\n\n        Notes\n        -----\n        You can only continue from a step that is compatible in the sense\n        that it was previously generated from the pathsampling instance.\n\n        If you want to switch the move scheme you need to create a new\n        pathsampling instance. You can do so with the constructor or using\n        the classmethod `from_step` which simplifies the setup process\n\n        Parameters\n        ----------\n        step : :class:`MCStep`\n            the step to be continued from. You are always free to chose any step\n            which can be used to fork a simulation but for analysis you may\n            only use one path of steps.\n        storage : :class:`Storage`\n            If given this will change the storage used to store the generated\n            steps\n\n        '
    if (step.simulation is not self):
        raise RuntimeWarning('Trying to continue from other step. Please use the `.from_step` method to create a new PathSampling object instead.')
    if (storage is not None):
        self.storage = storage
    self.step = step.mccycle
    self.sample_set = step.active
    self.root = step.simulation.root
    self._current_step = step