view check_output.py @ 1:7f88b804fc0c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meningotype commit ac4610f4f81de5ab3a71fc28cbe3cdb1696ef667
author iuc
date Wed, 13 Mar 2024 11:52:59 +0000
parents b5f872c50249
children
line wrap: on
line source

#!/usr/bin/env python3

import argparse
import sys

if __name__ == '__main__':
    parser = argparse.ArgumentParser()
    parser.add_argument('meningotype_file', type=argparse.FileType())
    args = parser.parse_args()
    for line in args.meningotype_file:
        if 'ERROR:' in line:
            sys.exit('Found error in meningotype output: ' + line.strip())