# HG changeset patch # User nick # Date 1370317787 14400 # Node ID 34892857567bcef692a224c6a724db41bc5f2dec # Parent f6d9742c1da09224a9d2531fd439903772d68c4c Ready for release - script diff -r f6d9742c1da0 -r 34892857567b allele-counts.py --- a/allele-counts.py Thu May 30 13:49:37 2013 -0400 +++ b/allele-counts.py Mon Jun 03 23:49:47 2013 -0400 @@ -202,7 +202,7 @@ try: variant_counts[variant] = int(float(reads)) except ValueError, e: - continue + fail("Error in input VCF: Variant count not a valid number. Failed on variant count string '"+reads+"'\nIn the following line:\n"+line) sample_counts[sample_names[i]] = variant_counts