def get_component_index_from_atom(item, indices='all', check=True): if check: _digest_item(item, _form) indices = _digest_indices(indices) from molsysmt.elements.component import get_component_index_from_atom as _get return _get(item, indices=indices)
def get_component_index_from_atom(item, indices='all', structure_indices='all'): from molsysmt.elements.component import get_component_index_from_atom as _get return _get(item, indices=indices)
def get_molecule_index_from_atom(item, indices='all', structure_indices='all'): from molsysmt.elements.molecule import get_molecule_index_from_atom as _get return _get(item, indices=indices)