def UKS(mol, xc='LDA,VWN'): if not mol.symmetry or mol.groupname == 'C1': return uks.UKS(mol, xc) else: return uks_symm.UKS(mol, xc)
def UKS(mol, *args): if not mol.symmetry or mol.groupname is 'C1': return uks.UKS(mol, *args) else: return uks_symm.UKS(mol, *args)