utils/genome_validation.py
def check_genome_download_status(lsf_out_file):
    """
    Opens LSF output file and checks whether the job's status is success

    lsf_out_file: LSF platform's output file generated by -o option
    returns: status 1 if the download was successful, otherwise 0
    """

    infile_fp = open(lsf_out_file, 'r')

    status = 0

    for line in infile_fp:
        if line.find("Success") != -1:
            status = 1

    infile_fp.close()

    return status

    Opens LSF output file and checks whether the job's status is success

    lsf_out_file: LSF platform's output file generated by -o option
    returns: status 1 if the download was successful, otherwise 0
    
Opens LSF output file and checks whether the job's status is success
lsf_out_file: LSF platform's output file generated by -o option
returns: status 1 if the download was successful, otherwise 0
Opens LSF output file and checks whether the job ' s status is success lsf_out_file : LSF platform ' s output file generated by - o option returns : status 1 if the download was successful otherwise 0
def check_genome_download_status(lsf_out_file):
    infile_fp = open(lsf_out_file, 'r')
    status = 0
    for line in infile_fp:
        if line.find("Success") != -1:
            status = 1
    infile_fp.close()
    return status
def check_genome_download_status ( lsf_out_file ) : infile_fp = open ( lsf_out_file , 'r' ) status = 0 for line in infile_fp : if line . find ( "Success" ) != - 1 : status = 1 infile_fp . close ( ) return status
Opens LSF output file and checks whether the job's status is success
lsf_out_file: LSF platform's output file generated by -o option
returns: status 1 if the download was successful, otherwise 0
Opens LSF output file and checks whether the job ' s status is success lsf_out_file : LSF platform ' s output file generated by - o option returns : status 1 if the download was successful otherwise 0
"""
    Opens LSF output file and checks whether the job's status is success

    lsf_out_file: LSF platform's output file generated by -o option
    returns: status 1 if the download was successful, otherwise 0
    """
lsf_out_file