def get(name):
    try:
        return registry[name]
    except __HOLE__:
        raise KeyError(
            "Object named '{}' is not registered in ramses "
            "registry".format(name))
dataset/ETHPy150Open ramses-tech/ramses/ramses/registry.py/get