Cleaner stderr prints

This commit is contained in:
Celine Mercier
2019-03-13 18:36:31 +01:00
parent e3c565d6be
commit 478d19ab43
15 changed files with 79 additions and 37 deletions

View File

@ -115,9 +115,7 @@ def emblIterator_file(lineiterator,
line = next(iterator)
else:
line = firstline
DONECOUNT=0
while True:
if ionly >= 0 and read >= ionly-1:
@ -154,11 +152,7 @@ def emblIterator_file(lineiterator,
break
seq = emblParser(entry)
if DONECOUNT%10000 == 0:
print(DONECOUNT, "\n")
DONECOUNT+=1
yield seq
read+=1