@property
def coreSubshells(self):
    'Use the name of the edge to determine the names of the core subshells.\n        e.g. for K (1s) the function returns ("1s",), while for K-L2,3 (1s2p) it\n        returns ("1s", "2p").\n        '
    PATTERNS = ('.*\\((\\d\\w)(\\d\\w)\\)', '.*\\((\\d\\w)\\)')
    name = self.value
    tokens = (token for pattern in PATTERNS for token in re.findall(pattern, name))
    [tokens] = tokens
    if (not tokens):
        raise ValueError('The name of the edge cannot be parsed.')
    if isinstance(tokens, str):
        tokens = (tokens,)
    return tokens
Use the name of the edge to determine the names of the core subshells.
e.g. for K (1s) the function returns ("1s",), while for K-L2,3 (1s2p) it
returns ("1s", "2p").
@property
def coreSubshells(self):
    'Use the name of the edge to determine the names of the core subshells.\n        e.g. for K (1s) the function returns ("1s",), while for K-L2,3 (1s2p) it\n        returns ("1s", "2p").\n        '
    PATTERNS = ('.*\\((\\d\\w)(\\d\\w)\\)', '.*\\((\\d\\w)\\)')
    name = self.value
    tokens = (token for pattern in PATTERNS for token in re.findall(pattern, name))
    [tokens] = tokens
    if (not tokens):
        raise ValueError('The name of the edge cannot be parsed.')
    if isinstance(tokens, str):
        tokens = (tokens,)
    return tokens