ngsfilter: fixed a bug when there is only one tag introduced in latest
edit
This commit is contained in:
@ -57,7 +57,7 @@ def ngsfilterIterator(lineiterator,
|
|||||||
split_line = line.split()
|
split_line = line.split()
|
||||||
tags = split_line.pop(2)
|
tags = split_line.pop(2)
|
||||||
tags = tags.split(b":")
|
tags = tags.split(b":")
|
||||||
for t_idx in range(2):
|
for t_idx in range(len(tags)):
|
||||||
if tags[t_idx]==b"-" or tags[t_idx]==b"None" or tags[t_idx]==b"":
|
if tags[t_idx]==b"-" or tags[t_idx]==b"None" or tags[t_idx]==b"":
|
||||||
tags[t_idx] = nastring
|
tags[t_idx] = nastring
|
||||||
if len(tags) == 1: # Forward and reverse tags are the same
|
if len(tags) == 1: # Forward and reverse tags are the same
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
major = 3
|
major = 3
|
||||||
minor = 0
|
minor = 0
|
||||||
serial= '0-beta4'
|
serial= '0-beta5'
|
||||||
|
|
||||||
version ="%d.%02d.%s" % (major,minor,serial)
|
version ="%d.%02d.%s" % (major,minor,serial)
|
||||||
|
Reference in New Issue
Block a user