frag_pele/Growing/AddingFragHelpers/pdb_joiner.py
def check_overlapping_names(structures_to_bond):
    """
    Checking that there is not duplications in the names of the structure. If not, it will return None, else, it will
    return the repeated elements.
    :param structures_to_bond: ProDy molecule
    :return: set object with the repeated elements if they are found. Else, None object.
    """
    all_atom_names = list(structures_to_bond.getNames())
    return set([name for name in all_atom_names if all_atom_names.count(name) > 1])

    Checking that there is not duplications in the names of the structure. If not, it will return None, else, it will
    return the repeated elements.
    :param structures_to_bond: ProDy molecule
    :return: set object with the repeated elements if they are found. Else, None object.
    
Checking that there is not duplications in the names of the structure. If not, it will return None, else, it will
return the repeated elements.
Checking that there is not duplications in the names of the structure . If not it will return None else it will return the repeated elements .
def check_overlapping_names(structures_to_bond):
    all_atom_names = list(structures_to_bond.getNames())
    return set([name for name in all_atom_names if all_atom_names.count(name) > 1])
def check_overlapping_names ( structures_to_bond ) : all_atom_names = list ( structures_to_bond . getNames ( ) ) return set ( [ name for name in all_atom_names if all_atom_names . count ( name ) > 1 ] )
Checking that there is not duplications in the names of the structure.
Checking that there is not duplications in the names of the structure .
"""
    Checking that there is not duplications in the names of the structure. If not, it will return None, else, it will
    return the repeated elements.
    :param structures_to_bond: ProDy molecule
    :return: set object with the repeated elements if they are found. Else, None object.
    """
set object with the repeated elements if they are found. Else, None object.
set object with the repeated elements if they are found . Else None object .
structures_to_bond
None