choderalab / ensembler

Automated omics-scale protein modeling and simulation setup.
http://ensembler.readthedocs.io/
GNU General Public License v2.0
52 stars 21 forks source link

Conditional imports in nosetests? #20

Open kyleabeauchamp opened 9 years ago

kyleabeauchamp commented 9 years ago

It might be useful to have the nosetests fail gracefully when things like rosetta and modeller are absent. This can be done using either the skipif decorator or by doing the import inside the test function and raising a SkipTest if the import fails