def _frozen_pool_single_run(kwargs):
    idx = kwargs.pop('idx')
    frozen_kwargs = _frozen_pool_single_run.kwargs
    frozen_kwargs.update(kwargs)  # in case of `run_map`
    # we need to update job's args and kwargs
    traj = frozen_kwargs['traj']
    traj.f_set_crun(idx)
    return _sigint_handling_single_run(frozen_kwargs)
Single run wrapper for the frozen pool, makes a single run and passes kwargs
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/environment.py/_frozen_pool_single_run