Commit f2aa5fcf by Celine Mercier

alignpairedend: fixed division by 0 bug and switch to version 3.0.0b30

parent bccb3e68
......@@ -259,7 +259,7 @@ def buildJoinedSequence(ali, reverse, seq, forward=None):
seq[b"pairedend_limit"]=len(forward)
seq[b"seq_length"] = ali.consensus_len
seq[b"overlap_length"] = ali.overlap_len
if ali.consensus_len > 0:
if ali.overlap_len > 0:
seq[b'score_norm']=round(float(ali.score)/ali.overlap_len, 3)
else:
seq[b"score_norm"]=0.0
......
major = 3
minor = 0
serial= '0b29'
serial= '0b30'
version ="%d.%d.%s" % (major,minor,serial)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment