def _make_kwargs(self, **kwargs):
        """Creates the keyword arguments for the single run handling"""
        result_dict = {'traj': self._traj,
                       'logging_manager': self._logging_manager,
                       'runfunc': self._runfunc,
                       'runargs': self._args,
                       'runkwargs': self._kwargs,
                       'clean_up_runs': self._clean_up_runs,
                       'automatic_storing': self._automatic_storing,
                       'wrap_mode': self._wrap_mode,
                       'niceness': self._niceness,
                       'graceful_exit': self._graceful_exit}
        result_dict.update(kwargs)
        if self._multiproc:
            if self._use_pool and self._use_scoop:
                if self._use_scoop:
                    del result_dict['graceful_exit']
                if self._freeze_input:
                    # Remember the full copy setting for the frozen input to
                    # change this back once the trajectory is received by
                    # each process
                    result_dict['full_copy'] = self.traj.v_full_copy
                    if self._map_arguments:
                        del result_dict['runargs']
                        del result_dict['runkwargs']
                else:
                    result_dict['clean_up_runs'] = False
                    if self._use_pool:
                        # Needs only be deleted in case of using a pool but necessary for scoop
                        del result_dict['logging_manager']
                        del result_dict['niceness']
            else:
                result_dict['clean_up_runs'] = False
        return result_dict
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/environment.py/Environment._make_kwargs/operator `or` -> `and`