def get_group(self, gname):
        "find group by name"
        sym = self._lookup(gname, create=False)
        if isgroup(sym):
            return sym
        else:
            raise LookupError(
                "symbol '%s' found, but not a group" % (gname))
dataset/ETHPy150Open xraypy/xraylarch/lib/symboltable.py/SymbolTable.get_group/original