Mercurial > hg > aimc
comparison experiments/scripts/cnbh-syllables/results_plotting/gen_results.py @ 101:9416e88d7c56
- Pretty-plotting
- Test on everything
- Generalised beyond standard AMI
author | tomwalters |
---|---|
date | Tue, 14 Sep 2010 00:18:47 +0000 |
parents | ae195c41c7bd |
children | 63bd7787ff98 |
comparison
equal
deleted
inserted
replaced
100:ae195c41c7bd | 101:9416e88d7c56 |
---|---|
66 test_talkers = value | 66 test_talkers = value |
67 if option in ("-c", "--value_count"): | 67 if option in ("-c", "--value_count"): |
68 total_value_count = int(value) | 68 total_value_count = int(value) |
69 if option in ("-p", "--spoke_pattern_file"): | 69 if option in ("-p", "--spoke_pattern_file"): |
70 spoke_pattern_file = value | 70 spoke_pattern_file = value |
71 if option in ("-o", "--output_filename") | |
72 output_filename = value | |
71 | 73 |
72 except Usage, err: | 74 except Usage, err: |
73 print >> sys.stderr, sys.argv[0].split("/")[-1] + ": " + str(err.msg) | 75 print >> sys.stderr, sys.argv[0].split("/")[-1] + ": " + str(err.msg) |
74 print >> sys.stderr, "\t for help use --help" | 76 print >> sys.stderr, "\t for help use --help" |
75 return 2 | 77 return 2 |