comparison env/lib/python3.7/site-packages/planemo/bioblend.py @ 5:9b1c78e6ba9c draft default tip

"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author shellac
date Mon, 01 Jun 2020 08:59:25 -0400
parents 79f47841a781
children
comparison
equal deleted inserted replaced
4:79f47841a781 5:9b1c78e6ba9c
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)