INNER CODE UNIT · Python

main2

BigDataBiology/SemiBin · SemiBin/main.py:1475

def main2(raw_args=None, is_semibin2=True):
    if not is_semibin2:
        raise NotImplementedError(f'SemiBin 1 is no longer supported in SemiBin v{__version__}.')
    import tempfile

    if raw_args is None:
        raw_args = sys.argv[1:]
    args = parse_args(raw_args)

    logger = logging.getLogger('SemiBin2')

    # We will always log to the log file with DEBUG level and set the console
    # log level based on the arguments
    logger.setLevel(logging.DEBUG)
    if args.verbose:
        loglevel = logging.DEBUG
    elif args.quiet:
        loglevel = logging.ERROR

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…