frag_pele/Growing/AddingFragHelpers/pdb_joiner.py
def select_atoms_from_list(PDB_atom_name, atoms_list):
    """
    Given a pdb atom name string and a list of atoms (BioPython Atom) it returns the Bio.Atom correspondent to the atom
    name.
    :param PDB_atom_name: string with an atom name
    :param atoms_list: list of Bio.Atoms
    :return: Bio.Atom correspondent to the atom name
    """
    for atom in atoms_list:
        if atom.name == PDB_atom_name:
            return atom

    Given a pdb atom name string and a list of atoms (BioPython Atom) it returns the Bio.Atom correspondent to the atom
    name.
    :param PDB_atom_name: string with an atom name
    :param atoms_list: list of Bio.Atoms
    :return: Bio.Atom correspondent to the atom name
    
Given a pdb atom name string and a list of atoms (BioPython Atom) it returns the Bio.Atom correspondent to the atom
name.
Given a pdb atom name string and a list of atoms ( BioPython Atom ) it returns the Bio . Atom correspondent to the atom name .
def select_atoms_from_list(PDB_atom_name, atoms_list):
    for atom in atoms_list:
        if atom.name == PDB_atom_name:
            return atom
def select_atoms_from_list ( PDB_atom_name , atoms_list ) : for atom in atoms_list : if atom . name == PDB_atom_name : return atom
Given a pdb atom name string and a list of atoms (BioPython Atom) it returns the Bio.Atom correspondent to the atom
name.
Given a pdb atom name string and a list of atoms ( BioPython Atom ) it returns the Bio . Atom correspondent to the atom name .
"""
    Given a pdb atom name string and a list of atoms (BioPython Atom) it returns the Bio.Atom correspondent to the atom
    name.
    :param PDB_atom_name: string with an atom name
    :param atoms_list: list of Bio.Atoms
    :return: Bio.Atom correspondent to the atom name
    """
Bio.Atom correspondent to the atom name
Bio . Atom correspondent to the atom name
PDB_atom_name
string with an atom name
string with an atom name
atoms_list
list of Bio.Atoms
list of Bio . Atoms