Skip to content

Commit

Permalink
Use staging area for obtaining ACeDB data release and class report.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Russell committed Apr 19, 2018
1 parent 2e17bad commit 196b439
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/azanium/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
'install_dir',
'version'))

DEFAULT_EBI_FTP_PATH_PREFIX = ''

def installer(func):
"""Decorate a click command as an ``installer``.
Expand Down Expand Up @@ -83,7 +84,7 @@ def pipeline(installers):
default='ftp.ebi.ac.uk',
help='FTP hostname for ACeDB data.')
@option('--remote-path-template',
default='pub/databases/wormbase/releases/{version}/REPORTS',
default=DEFAULT_EBI_FTP_PATH_PREFIX + '/{version}/REPORTS',
help='Path to the file(s) containing compressed database.')
@option('--file-selector-regexp',
default='all_classes_report.{version}\.txt\.gz$',
Expand Down Expand Up @@ -118,7 +119,7 @@ def acedb_id_catalog(meta,
default='ftp.ebi.ac.uk',
help='FTP hostname for ACeDB data.')
@option('--remote-path-template',
default='pub/databases/wormbase/releases/{version}/acedb',
default=DEFAULT_EBI_FTP_PATH_PREFIX + '{version}/acedb',
help='Path to the file(s) containing compressed database.')
@option('--file-selector-regexp',
default='.*\.tar\.gz$',
Expand Down

0 comments on commit 196b439

Please sign in to comment.