

def run_map(self, runfunc, *iter_args, **iter_kwargs):
    'Calls runfunc with different args and kwargs each time.\n\n        Similar to `:func:`~pypet.environment.Environment.run`\n        but all ``iter_args`` and ``iter_kwargs`` need to be iterables,\n        iterators, or generators that return new arguments for each run.\n\n        '
    if ((len(iter_args) == 0) and (len(iter_kwargs) == 0)):
        raise ValueError('Use `run` if you don`t have any other arguments.')
    pipeline = (lambda traj: ((runfunc, iter_args, iter_kwargs), (self._postproc, self._postproc_args, self._postproc_kwargs)))
    self._user_pipeline = False
    pipeline._map_arguments = True
    return self._execute_runs(pipeline)

dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/environment.py Environment.run_map/VarMisuse@87/238 `self`->`pipeline`