def get_production(self, irrad, level, allow_null=False, **kw):
    path = os.path.join(paths.meta_root, irrad, 'productions.json')
    obj = dvc_load(path)
    pname = obj.get(level, '')
    p = os.path.join(paths.meta_root, irrad, 'productions', add_extension(pname, ext='.json'))
    ip = Production(p, allow_null=allow_null)
    return (pname, ip)
def get_production(self, irrad, level, allow_null=False, **kw):
    path = os.path.join(paths.meta_root, irrad, 'productions.json')
    obj = dvc_load(path)
    pname = obj.get(level, )
    p = os.path.join(paths.meta_root, irrad, 'productions', add_extension(pname, ext='.json'))
    ip = Production(p, allow_null=allow_null)
    return (pname, ip)