[Biopython-dev] Changing run_tests.py (Galaxy package inspired)
Vincent Davis
vincent at vincentdavis.net
Fri May 13 16:20:28 UTC 2016
On Fri, May 13, 2016 at 10:11 AM, Peter Cock <p.j.a.cock at googlemail.com>
wrote:
> I'm not sure what you mean by "an external module" here,
> could you expand on this?
>
It is always so clear in my mind.
Currently AFAIK the check for the external dependencies is in each test
file. I am suggesting moving them out of the test files into something more
available to users.
>>> from Bio import externalcheck as ec
>>> ec.check('ClustalW
<http://biopython.org/DIST/docs/tutorial/Tutorial.html#htoc80>')
True
>>> ec.which('ClustalW
<http://biopython.org/DIST/docs/tutorial/Tutorial.html#htoc80>')
path/to/ClustalW
<http://biopython.org/DIST/docs/tutorial/Tutorial.html#htoc80>
The all this logic is available outside of the tests and maintained in one
place.
Vincent Davis
720-301-3003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython-dev/attachments/20160513/87b216d7/attachment.html>
More information about the Biopython-dev
mailing list