scripts/validation/genome_search_validator.py
def check_genome_search_success(error_file):
    """
    Checks whether genome search was successful by checking lsf error file
    size. If the file is empty return success, otherwise return 0

    error_file (string): A string representing the path to LSF's job error
    file (-e)
    """
    success = 1

    if os.path.getsize(error_file) == 0:
        return success

    return 0

    Checks whether genome search was successful by checking lsf error file
    size. If the file is empty return success, otherwise return 0

    error_file (string): A string representing the path to LSF's job error
    file (-e)
    
Checks whether genome search was successful by checking lsf error file
size. If the file is empty return success, otherwise return 0

error_file (string): A string representing the path to LSF's job error
file (-e)
Checks whether genome search was successful by checking lsf error file size . If the file is empty return success otherwise return 0 error_file ( string ) : A string representing the path to LSF ' s job error file ( - e )
def check_genome_search_success(error_file):
    success = 1
    if os.path.getsize(error_file) == 0:
        return success
    return 0
def check_genome_search_success ( error_file ) : success = 1 if os . path . getsize ( error_file ) == 0 : return success return 0
Checks whether genome search was successful by checking lsf error file
size.
Checks whether genome search was successful by checking lsf error file size .
"""
    Checks whether genome search was successful by checking lsf error file
    size. If the file is empty return success, otherwise return 0

    error_file (string): A string representing the path to LSF's job error
    file (-e)
    """
error_file