scripts/support/update_wiki_redirects.py
def checkout_family_from_svn(rfam_acc, dest_dir):
    """
    Checks out a family from the svn by calling rfco

    rfam_acc: A valid Rfam family accession
    dest_dir: Destination directory where to check out family
    """

    os.chdir(dest_dir)
    cmd = "rfco %s" % (rfam_acc)
    subprocess.call(cmd, shell=True)

    if not os.path.exists(os.path.join(dest_dir, rfam_acc)):
        return -1

    return 0

    Checks out a family from the svn by calling rfco

    rfam_acc: A valid Rfam family accession
    dest_dir: Destination directory where to check out family
    
Checks out a family from the svn by calling rfco
rfam_acc: A valid Rfam family accession
dest_dir: Destination directory where to check out family
Checks out a family from the svn by calling rfco rfam_acc : A valid Rfam family accession dest_dir : Destination directory where to check out family
def checkout_family_from_svn(rfam_acc, dest_dir):
    os.chdir(dest_dir)
    cmd = "rfco %s" % (rfam_acc)
    subprocess.call(cmd, shell=True)
    if not os.path.exists(os.path.join(dest_dir, rfam_acc)):
        return -1
    return 0
def checkout_family_from_svn ( rfam_acc , dest_dir ) : os . chdir ( dest_dir ) cmd = "rfco %s" % ( rfam_acc ) subprocess . call ( cmd , shell = True ) if not os . path . exists ( os . path . join ( dest_dir , rfam_acc ) ) : return - 1 return 0
Checks out a family from the svn by calling rfco
rfam_acc: A valid Rfam family accession
dest_dir: Destination directory where to check out family
Checks out a family from the svn by calling rfco rfam_acc : A valid Rfam family accession dest_dir : Destination directory where to check out family
"""
    Checks out a family from the svn by calling rfco

    rfam_acc: A valid Rfam family accession
    dest_dir: Destination directory where to check out family
    """
rfam_acc
dest_dir