changeset 7:34892857567b

Ready for release - script
author nick
date Mon, 03 Jun 2013 23:49:47 -0400
parents f6d9742c1da0
children 4faea727a72c
files allele-counts.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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