Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/planemo/glob.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 from __future__ import print_function | |
| 3 | |
| 4 NO_GLOB_2 = "glob2 library unavailabile, please install with pip install glob2." | |
| 5 | |
| 6 try: | |
| 7 from glob2 import glob as _glob | |
| 8 except ImportError: | |
| 9 _glob = None | |
| 10 | |
| 11 | |
| 12 def glob(*args, **kwds): | |
| 13 if _glob is None: | |
| 14 raise Exception(NO_GLOB_2) | |
| 15 return _glob(*args, **kwds) | |
| 16 | |
| 17 | |
| 18 __all__ = ( | |
| 19 "glob", | |
| 20 ) |
