Skip to content

Commit

Permalink
make downloader an internal attribute for DatasetLoader class
Browse files Browse the repository at this point in the history
  • Loading branch information
gcroci2 committed Jul 11, 2023
1 parent 449e5bf commit 210d028
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nplinker/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ def load(self):
return True

def _start_downloads(self):
downloader = PODPDownloader(self._platform_id)
self._root = downloader.project_file_cache
self._downloader = PODPDownloader(self._platform_id)
self._root = self._downloader.project_file_cache
logger.debug('remote loading mode, configuring root=%s', self._root)
# CG: to download both MET and GEN data
# CG: Continue to understand how strain_mappings.json is generated
downloader.get(
self._downloader.get(
self._config_docker.get('run_bigscape', self.RUN_BIGSCAPE_DEFAULT),
self._config_docker.get('extra_bigscape_parameters',
self.EXTRA_BIGSCAPE_PARAMS_DEFAULT),
Expand Down

0 comments on commit 210d028

Please sign in to comment.