Mercurial > repos > iuc > meningotype
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:2d21809749f2 |
|---|---|
| 1 #!/usr/bin/env python3 | |
| 2 | |
| 3 import argparse | |
| 4 import sys | |
| 5 | |
| 6 if __name__ == '__main__': | |
| 7 parser = argparse.ArgumentParser() | |
| 8 parser.add_argument('meningotype_file', type=argparse.FileType()) | |
| 9 args = parser.parse_args() | |
| 10 for line in args.meningotype_file: | |
| 11 if 'ERROR:' in line: | |
| 12 sys.exit('Found error in meningotype output: ' + line.strip()) |
