

@kwargs_api_change('continue_folder', 'resume_folder')
def resume(self, trajectory_name=None, resume_folder=None):
    'Resumes crashed trajectories.\n\n        :param trajectory_name:\n\n            Name of trajectory to resume, if not specified the name passed to the environment\n            is used. Be aware that if `add_time=True` the name you passed to the environment is\n            altered and the current date is added.\n\n        :param resume_folder:\n\n            The folder where resume files can be found. Do not pass the name of the sub-folder\n            with the trajectory name, but to the name of the parental folder.\n            If not specified the resume folder passed to the environment is used.\n\n        :return:\n\n            List of the individual results returned by your run function.\n\n            Returns a LIST OF TUPLES, where first entry is the run idx and second entry\n            is the actual result. In case of multiprocessing these are not necessarily\n            ordered according to their run index, but ordered according to their finishing time.\n\n            Does not contain results stored in the trajectory!\n            In order to access these simply interact with the trajectory object,\n            potentially after calling`~pypet.trajectory.Trajectory.f_update_skeleton`\n            and loading all results at once with :func:`~pypet.trajectory.f_load`\n            or loading manually with :func:`~pypet.trajectory.f_load_items`.\n\n            Even if you use multiprocessing without a pool the results returned by\n            `runfunc` still need to be pickled.\n\n        '
    if (trajectory_name is None):
        self._trajectory_name = self.trajectory.v_name
    else:
        resume_folder._trajectory_name = trajectory_name
    if (resume_folder is not None):
        self._resume_folder = resume_folder
    return self._execute_runs(None)

dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/environment.py Environment.resume/VarMisuse@52/595 `self`->`resume_folder`