Skip to content

Commit

Permalink
Closes #397, maybe.
Browse files Browse the repository at this point in the history
  • Loading branch information
natanlao committed Aug 7, 2019
1 parent 5d7110c commit 2c80866
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hca/dss/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ def download(self,
If a retryable exception occurs, we wait a bit and retry again. The delay increases each time we fail and
decreases each time we successfully read a block. We set a quota for the number of failures that goes up with
every successful block read and down with each failure.
Data will be downloaded into ${DOWNLOAD_DIR}/${BUNDLE_UUID}.${BUNDLE_VERSION} as set in the arguments.
By default, DOWNLOAD_DIR is the current working directory.
"""
if no_metadata:
if metadata_filter != ('*',):
Expand Down Expand Up @@ -571,7 +574,7 @@ def _download_to_filestore(self, dss_file):
else:
logger.debug("Downloading '%s' to '%s'.", dss_file.name, dest_path)
self._download_file(dss_file, dest_path)
logger.info("Download '%s' to '%s'.", dss_file.name, dest_path)
logger.debug("Download '%s' to '%s'.", dss_file.name, dest_path)
return dest_path

def _download_and_link_to_filestore(self, dss_file, file_path):
Expand Down

0 comments on commit 2c80866

Please sign in to comment.