Mercurial > hg > aimc
comparison experiments/scripts/cnbh-syllables/results_plotting/gen_results.py @ 102:63bd7787ff98
- Bugfixen
author | tomwalters |
---|---|
date | Tue, 14 Sep 2010 00:36:42 +0000 |
parents | 9416e88d7c56 |
children | 886b6d5c52cf |
comparison
equal
deleted
inserted
replaced
101:9416e88d7c56 | 102:63bd7787ff98 |
---|---|
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") | 71 if option in ("-o", "--output_filename"): |
72 output_filename = value | 72 output_filename = value |
73 | 73 |
74 except Usage, err: | 74 except Usage, err: |
75 print >> sys.stderr, sys.argv[0].split("/")[-1] + ": " + str(err.msg) | 75 print >> sys.stderr, sys.argv[0].split("/")[-1] + ": " + str(err.msg) |
76 print >> sys.stderr, "\t for help use --help" | 76 print >> sys.stderr, "\t for help use --help" |