Revision: 4b7ff2401971
Branch: default
Author: Kevin B. Jacobs <
jac...@bioinformed.com>
Date: Mon Dec 10 07:56:48 2012
Log: Fix null fields that should have been encoded as zero
http://code.google.com/p/glu-genetics/source/detail?r=4b7ff2401971
Modified:
/glu/lib/seqlib/cgfvariants.py
=======================================
--- /glu/lib/seqlib/cgfvariants.py Tue Feb 21 06:26:21 2012
+++ /glu/lib/seqlib/cgfvariants.py Mon Dec 10 07:56:48 2012
@@ -34,7 +34,7 @@
source = [ s.strip() for s in source.split(',') ]
yield VarRecord(chrom, int(vstart), int(vstop),
allele.replace('-',''),
- float(common_score), int(function_score),
+ float(common_score or 0), int(function_score
or 0),
source)
def build_variants_lookup(self, chromosome, start, stop):