frag_pele/Growing/add_fragment_from_pdbs.py
def extract_heavy_atoms(pdb_atom_names, lists_of_bioatoms):
    """
    Given a heavy atom name (string) and a list of Bio.PDB.Atom objects, it selects this atom of the list and return it
    as a single object.
    :param pdb_atom_names: heavy atom name (string).
    :param lists_of_bioatoms: list of Bio.PDB.Atom objects.
    :return: Bio.PDB.Atom object correspondent to the heavy atom name.
    """
    heavy_atoms = []
    # Select the heavy atoms for each list that we will want to bond together in further steps
    for atom_name, list_of_bioatoms in zip(pdb_atom_names, lists_of_bioatoms):
        atom_heavy = pdb_joiner.select_atoms_from_list(atom_name, list_of_bioatoms)
        heavy_atoms.append(atom_heavy)
    return heavy_atoms

    Given a heavy atom name (string) and a list of Bio.PDB.Atom objects, it selects this atom of the list and return it
    as a single object.
    :param pdb_atom_names: heavy atom name (string).
    :param lists_of_bioatoms: list of Bio.PDB.Atom objects.
    :return: Bio.PDB.Atom object correspondent to the heavy atom name.
    
Given a heavy atom name (string) and a list of Bio.PDB.Atom objects, it selects this atom of the list and return it
as a single object.
Given a heavy atom name ( string ) and a list of Bio . PDB . Atom objects it selects this atom of the list and return it as a single object .
def extract_heavy_atoms(pdb_atom_names, lists_of_bioatoms):
    heavy_atoms = []
    for atom_name, list_of_bioatoms in zip(pdb_atom_names, lists_of_bioatoms):
        atom_heavy = pdb_joiner.select_atoms_from_list(atom_name, list_of_bioatoms)
        heavy_atoms.append(atom_heavy)
    return heavy_atoms
def extract_heavy_atoms ( pdb_atom_names , lists_of_bioatoms ) : heavy_atoms = [ ] for atom_name , list_of_bioatoms in zip ( pdb_atom_names , lists_of_bioatoms ) : atom_heavy = pdb_joiner . select_atoms_from_list ( atom_name , list_of_bioatoms ) heavy_atoms . append ( atom_heavy ) return heavy_atoms
Given a heavy atom name (string) and a list of Bio.PDB.Atom objects, it selects this atom of the list and return it
as a single object.
Given a heavy atom name ( string ) and a list of Bio . PDB . Atom objects it selects this atom of the list and return it as a single object .
"""
    Given a heavy atom name (string) and a list of Bio.PDB.Atom objects, it selects this atom of the list and return it
    as a single object.
    :param pdb_atom_names: heavy atom name (string).
    :param lists_of_bioatoms: list of Bio.PDB.Atom objects.
    :return: Bio.PDB.Atom object correspondent to the heavy atom name.
    """ # Select the heavy atoms for each list that we will want to bond together in further steps
Bio.PDB.Atom object correspondent to the heavy atom name.
Bio . PDB . Atom object correspondent to the heavy atom name .
pdb_atom_names
heavy atom name (string).
heavy atom name ( string ) .
lists_of_bioatoms
list of Bio.PDB.Atom objects.
list of Bio . PDB . Atom objects .