frag_pele/Growing/add_fragment_from_pdbs.py
def finishing_joining(molecule, chain):
    """
    Given a ProDy molecule this function change the Resname of the atoms to "GRW" and the Resnum to "1". Following this
    process it is possible to transform a ProDy object with more than one element with different resnums and resnames
    into a single molecule.
    :param molecule: ProDy molecule.
    :return: ProDy molecule with Resname "GRW" and Resnum "1".
    """
    molecule.setResnames("GRW")
    molecule.setResnums(1)
    molecule.setChids(chain)

    Given a ProDy molecule this function change the Resname of the atoms to "GRW" and the Resnum to "1". Following this
    process it is possible to transform a ProDy object with more than one element with different resnums and resnames
    into a single molecule.
    :param molecule: ProDy molecule.
    :return: ProDy molecule with Resname "GRW" and Resnum "1".
    
Given a ProDy molecule this function change the Resname of the atoms to "GRW" and the Resnum to "1". Following this
process it is possible to transform a ProDy object with more than one element with different resnums and resnames
into a single molecule.
Given a ProDy molecule this function change the Resname of the atoms to " GRW " and the Resnum to " 1 " . Following this process it is possible to transform a ProDy object with more than one element with different resnums and resnames into a single molecule .
def finishing_joining(molecule, chain):
    molecule.setResnames("GRW")
    molecule.setResnums(1)
    molecule.setChids(chain)
def finishing_joining ( molecule , chain ) : molecule . setResnames ( "GRW" ) molecule . setResnums ( 1 ) molecule . setChids ( chain )
Given a ProDy molecule this function change the Resname of the atoms to "GRW" and the Resnum to "1".
Given a ProDy molecule this function change the Resname of the atoms to " GRW " and the Resnum to " 1 " .
"""
    Given a ProDy molecule this function change the Resname of the atoms to "GRW" and the Resnum to "1". Following this
    process it is possible to transform a ProDy object with more than one element with different resnums and resnames
    into a single molecule.
    :param molecule: ProDy molecule.
    :return: ProDy molecule with Resname "GRW" and Resnum "1".
    """
ProDy molecule with Resname "GRW" and Resnum "1".
ProDy molecule with Resname " GRW " and Resnum " 1 " .
molecule
None
chain