[Biopython-dev] stdout/stderr handling oddity

Peter Cock p.j.a.cock at googlemail.com
Thu Mar 28 18:00:38 UTC 2013

Hi all,

While looking at the BWA wrapper from Saket Choudhary
https://github.com/biopython/biopython/pull/167 and the
associated enhancement to the __call__ functionality of the
command line wrapper base class, I wrote a couple of unit
tests - which have left me a little puzzled:


Could a few of you try running this test_Application.py
file and confirm it works as is, and try uncommenting the
two problem test cases?

(I'm curious if the echo test works as intended on a plain
Windows machine without cygwin installed - I hope so).

Unless anyone else can explain this, I think the next step
is a simple test program which produces predictable
output to both stdout and stderr, just in case this is due
to there being no stderr output in these tests.

e.g. Print integers 1, 2, 3, 4, ..., to some sensible limit,
like 20, where non-primes are on stdout while primes on


More information about the Biopython-dev mailing list