Re: Changing run_tests.py (Galaxy package inspired)
Vincent Davis <[email protected]>
| Newsgroups | gmane.comp.python.bio.devel |
|---|---|
| Message-ID | <CALyJZZXrn8LWt5mGRTpnT+3Hia4ojbb54CZRxF3zA-x0y2w4ow@mail.gmail.com> |
On Fri, May 13, 2016 at 10:11 AM, Peter Cock <[email protected]> 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 _______________________________________________ Biopython-dev mailing list [email protected] http://mailman.open-bio.org/mailman/listinfo/biopython-dev