def _expand_angmoms(s: str, n: int) -> List[int]:
    if (len(s) == n):
        pass
    elif ((n % len(s)) == 0):
        s = (s * (n // len(s)))
    else:
        raise RuntimeError(('Do not know how to read orbital %s with %d coefficient columns' % (s, n)))
    s = s.lower()
    spdfmap = {'s': 0, 'p': 1, 'd': 2, 'f': 3, 'g': 4, 'h': 5, 'i': 6}
    angmoms = [spdfmap[c] for c in s]
    return angmoms
def _expand_angmoms(s: str, n: int) -> List[int]:
    if (len(s) == n):
        pass
    elif ((n % len(s)) == 0):
        s = (s * (n // len(s)))
    else:
        raise RuntimeError(('Do not know how to read orbital %s with %d coefficient columns' % (s, n)))
    s = s.lower()
    spdfmap = {'s': 0, 'p': 1, 'd': 2, 'f': 3, 'g': 4, 'h': 5, 'i': 6}
    angmoms = [spdfmap[c] for c in s]
    return angmoms