Commit 50ca9796 by Eric Coissac

--no commit message

parent bd6b19c0
......@@ -33,6 +33,7 @@ from obitools.options import getOptionManager
from obitools.format.options import addInOutputOption, sequenceWriterGenerator
from obitools.ecopcr.options import addTaxonomyDBOptions
from sys import stderr
if __name__ == '__main__':
......@@ -42,4 +43,12 @@ if __name__ == '__main__':
writer = sequenceWriterGenerator(options)
for entry in entries:
writer(entry)
if options.skiperror:
try:
writer(entry)
except:
print >>stderr,"Skip writing of sequence : %s" % entry.id
else:
writer(entry)
\ No newline at end of file
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