In line 1612 of pysam/csamtools.pyx:
for pytag, value in tags:
t = type(value)
if t == types.FloatType:
line 1612 ---> fmt = "<cccf"
elif t == types.IntType:
the fmt is defined by pytype is not. For the other types, both fmt and pytype
are defined. I think line 1612 should be
fmt, pytype = "<cccf", 'f'
If not, tags with a floating-point value cannot be used.
Original issue reported on code.google.com by mjldeh...@gmail.com on 17 Dec 2010 at 8:41
Original issue reported on code.google.com by
mjldeh...@gmail.com
on 17 Dec 2010 at 8:41