import sys
from pyscf.dft import vxc
from pyscf.dft import rks
from pyscf.dft import gen_grid as grid
from pyscf.dft import radi

# register the XC keywords in module
curmod = sys.modules[__name__]
for k,v in vxc.XC_CODES.items():
    setattr(curmod, k, v)


def RKS(mol, *args):
    if not mol.symmetry or mol.groupname is 'C1':
        return rks.RKS(mol, *args)
    else:
        raise ValueError('symmetry is not implemented')
        return rks_symm.RKS(mol, *args)
