[glu-genetics] push by bioinformed@gmail.com - Fix null fields that should have been encoded as zero on 2012-12-10 15:58 GMT

1 view
Skip to first unread message

glu-ge...@googlecode.com

unread,
Dec 10, 2012, 10:58:16 AM12/10/12
to glu...@googlegroups.com
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):
Reply all
Reply to author
Forward
0 new messages