comparison env/lib/python3.7/site-packages/planemo/bioblend.py @ 0:26e78fe6e8c4 draft

"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author shellac
date Sat, 02 May 2020 07:14:21 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:26e78fe6e8c4
1 from __future__ import absolute_import
2
3 try:
4 from bioblend import toolshed
5 from bioblend import galaxy
6 except ImportError:
7 toolshed = None
8 galaxy = None
9
10 BIOBLEND_UNAVAILABLE = ("This functionality requires the bioblend library "
11 " which is unavailable, please install `pip install "
12 "bioblend`")
13
14
15 def ensure_module():
16 if toolshed is None:
17 raise Exception(BIOBLEND_UNAVAILABLE)