<div dir="ltr"><div class="gmail_extra"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><span style="font-family:arial,sans-serif">On Fri, May 13, 2016 at 10:11 AM, Peter Cock </span><span dir="ltr" style="font-family:arial,sans-serif"><<a href="mailto:p.j.a.cock@googlemail.com" target="_blank">p.j.a.cock@googlemail.com</a>></span><span style="font-family:arial,sans-serif"> wrote:</span><br style="font-family:arial,sans-serif"><blockquote class="gmail_quote" style="font-family:arial,sans-serif;margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div id=":15g" class="">I'm not sure what you mean by "an external module" here,<br>could you expand on this?</div></blockquote><div> </div><div>It is always so clear in my mind. </div></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">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.<br>>>> from Bio import externalcheck as ec</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">>>> ec.check('<a href="http://biopython.org/DIST/docs/tutorial/Tutorial.html#htoc80" style="font-family:Times;font-size:medium">ClustalW</a>')</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">True</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">>>> ec.which('<a href="http://biopython.org/DIST/docs/tutorial/Tutorial.html#htoc80" style="font-family:Times;font-size:medium">ClustalW</a>')<br>path/to/<a href="http://biopython.org/DIST/docs/tutorial/Tutorial.html#htoc80" style="font-family:Times;font-size:medium">ClustalW</a></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">The all this logic is available outside of the tests and maintained in one place.</div><br><div class="gmail_quote"><br></div><br><br><br clear="all"><div><div class="gmail_signature"><div>Vincent Davis</div><div>720-301-3003<span></span><span></span></div></div></div>
</div></div>