From 210d02815e11547c38efe336d95686a0fed4e383 Mon Sep 17 00:00:00 2001 From: gcroci2 Date: Tue, 11 Jul 2023 11:47:27 +0200 Subject: [PATCH] make downloader an internal attribute for DatasetLoader class --- src/nplinker/loader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nplinker/loader.py b/src/nplinker/loader.py index 24cbc128..0d9f9085 100644 --- a/src/nplinker/loader.py +++ b/src/nplinker/loader.py @@ -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),