[Biopython] SPARK error messages to be sent to stderr?

Uri Laserson laserson at mit.edu
Wed Apr 28 18:49:40 UTC 2010


The spark error messages when there is a parsing problem are currently
getting sent to stdout:

(line 181 in Bio/Parsers/spark.py)
print "Syntax error at or near `%s' token" % token

Can this be changed to:
print >>sys.stderr, "Syntax error at or near `%s' token" % token

This way the error messages can be handled separately.

Thanks!
Uri



More information about the Biopython mailing list