Mercurial > repos > iuc > meningotype
view check_output.py @ 0:b5f872c50249 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meningotype commit b4e0bbb9a2a23cbac9137a96d59bc1775c23c8a5
author | iuc |
---|---|
date | Tue, 13 Jun 2023 11:04:30 +0000 |
parents | |
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())