Example #1
0
def get_component_type_from_component(item, indices='all', check=True):

    if check:

        _digest_item(item, _form)
        indices = _digest_indices(indices)

    from molsysmt.elements.component import get_component_type_from_component as get
    return get(item, indices)
Example #2
0
def get_component_type_from_component(item,
                                      indices='all',
                                      structure_indices='all'):

    from molsysmt.elements.component import get_component_type_from_component as get
    return get(item, indices)
def get_n_entities_from_system(item, indices='all', structure_indices='all'):

    from molsysmt.elements.entity import get_n_entities_from_system as get
    return get(item, indices)
def get_n_molecules_from_system(item, indices='all', structure_indices='all'):

    from molsysmt.elements.molecule import get_n_molecules_from_system as get
    return get(item, indices)
def get_n_components_from_system(item, indices='all', structure_indices='all'):

    from molsysmt.elements.component import get_n_components_from_system as get
    return get(item, indices)
def get_entity_type_from_entity(item, indices='all', structure_indices='all'):

    from molsysmt.elements.entity import get_entity_type_from_molecule as get
    return get(item, indices)
def get_molecule_name_from_molecule(item,
                                    indices='all',
                                    structure_indices='all'):

    from molsysmt.elements.molecule import get_molecule_name_from_molecule as get
    return get(item, indices)