[Biopython-dev] Changing run_tests.py (Galaxy package inspired)

Peter Cock p.j.a.cock at googlemail.com
Tue May 10 19:04:11 UTC 2016


On Tue, May 10, 2016 at 8:00 PM, Tiago Rodrigues Antao <tra at popgen.net> wrote:
>
>
> On Tue, 10 May 2016, Peter Cock wrote:
>
>> I like this idea - I guess we'd need a subclass of the missing dependency
>> exception specifically for missing a proprietary extension?
>
>
> That would work.
> Also, change run_tests and add two options, say:
> --check-dependencies
> --check-free-dependencies
>
> I can work on a PR along these lines...

Yes please - you should be able to follow the model used for the current
run_tests.py --offline switch which is also handled via an exception
triggered at import time of test_XXX.py.

Peter


More information about the Biopython-dev mailing list