def _get_image_infos(image):
    status = base_status.copy()
    client = _get_client()
    try:
        infos = client.inspect_image(image)
        if infos:
            _valid(status,
                   id_=infos['Id'],
                   out=infos,
                   comment='found')
    except Exception:
        pass
    if not status['id']:
        _invalid(status)
        raise CommandExecutionError(
            'ImageID \'{0}\' could not be resolved to '
            'an existing Image'.format(image)
        )
    return status['out']
Get ratio of variability of folded and unfolded models.
dataset/ETHPy150Open saltstack/salt/salt/modules/dockerio.py/_get_image_infos--crossover with--dataset/ETHPy150Open cesium-ml/cesium/cesium/science_features/period_folding.py/get_p2p_scatter_over_mad