Commit c395d762 by Eric Coissac

patch a bug in the sequence counting of obiselect

parent b2d2346e
...@@ -231,8 +231,11 @@ if __name__ == '__main__': ...@@ -231,8 +231,11 @@ if __name__ == '__main__':
for seq in seqs[1:]: for seq in seqs[1:]:
s['count']+=seq['count'] if 'count' in seq:
s['count']+=seq['count']
else:
s['count']+=1
for key in mergedKey: for key in mergedKey:
if key=='taxid' and mergeIds: if key=='taxid' and mergeIds:
if 'taxid_dist' in seq: if 'taxid_dist' in seq:
......
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