def check_binaries():
    if ((not which(REPEAT_BIN)) or (not which(CONTIGGER_BIN))):
        raise RepeatException("Repeat/contigger binaries were not found. Did you run 'make'?")
    try:
        devnull = open(os.devnull, 'w')
        subprocess.check_call([REPEAT_BIN, 'repeat', '-h'], stderr=devnull)
    except subprocess.CalledProcessError as e:
        raise RepeatException(str(e))
    except OSError as e:
        raise RepeatException(str(e))
def check_binaries():
    if ((not which(REPEAT_BIN)) or (not which(CONTIGGER_BIN))):
        raise RepeatException("Repeat/contigger binaries were not found. Did you run 'make'?")
    try:
        devnull = open(os.devnull, 'w')
        subprocess.check_call([REPEAT_BIN, 'repeat', '-h'], stderr=devnull)
    except subprocess.CalledProcessError as e:
        raise RepeatException(str(e))
    except OSError as e:
        raise RepeatException(str(e))