

def _scoop_single_run(kwargs):
    'Wrapper function for scoop, that does not configure logging'
    try:
        try:
            is_origin = scoop.IS_ORIGIN
        except AttributeError:
            is_origin = True
        if (not is_origin):
            _configure_niceness(kwargs)
            _configure_logging(kwargs)
        return _single_run(kwargs)
    except Exception:
        scoop.logger.exception('ERROR occurred during a single run!')
        raise

dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/environment.py _scoop_single_run/original