Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Mar 8, 2012
2 parents b69086c + 7609f92 commit b0c297f
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions data_fabfile.py
Expand Up @@ -31,29 +31,19 @@
except ImportError:
boto = None

# use local cloudbio directory
# preferentially use local cloudbio directory
for to_remove in [p for p in sys.path if p.find("cloudbiolinux-") > 0]:
sys.path.remove(to_remove)
sys.path.append(os.path.dirname(__file__))
# allow partial use without cloudbiolinux installed or present
try:
from cloudbio.biodata.dbsnp import download_dbsnp
except ImportError:
download_dbsnp = None

try:
from cloudbio.biodata.rnaseq import download_transcripts
except ImportError:
download_transcripts = None

try:
from cloudbio.distribution import _setup_distribution_environment
except ImportError:
_setup_distribution_environment = None

try:
from cloudbio.utils import _setup_logging
except ImportError:
_setup_logging = None
download_dbsnp, download_transcripts, _setup_distribution_environment, _setup_logging = \
(None, None, None, None)

# -- Host specific setup

Expand Down

0 comments on commit b0c297f

Please sign in to comment.