Mercurial > repos > iuc > meningotype
diff check_output.py @ 0:2d21809749f2 draft default tip
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:13 +0000 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/check_output.py Tue Jun 13 11:04:13 2023 +0000 @@ -0,0 +1,12 @@ +#!/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())
