geoseeq 0.6.12.dev0__tar.gz → 0.6.12.dev1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/PKG-INFO +1 -1
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/main.py +1 -1
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/upload_download_manager.py +7 -5
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq.egg-info/PKG-INFO +1 -1
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/pyproject.toml +1 -1
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/LICENSE +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/README.md +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/app.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/blob_constructors.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/bulk_creators.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/constants.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/copy.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/detail.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/download.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/fastq_utils.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/get_eula.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/manage.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/progress_bar.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/project.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/raw.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/run.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/search.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/shared_params/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/shared_params/common_state.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/shared_params/config.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/shared_params/id_handlers.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/shared_params/obj_getters.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/shared_params/opts_and_args.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/upload/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/upload/upload.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/upload/upload_advanced.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/upload/upload_reads.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/user.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/utils.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/cli/view.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/constants.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/contrib/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/contrib/ncbi/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/contrib/ncbi/api.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/contrib/ncbi/bioproject.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/contrib/ncbi/cli.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/contrib/ncbi/setup_logging.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/file_system_cache.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/id_constructors/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/id_constructors/from_blobs.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/id_constructors/from_ids.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/id_constructors/from_names.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/id_constructors/from_uuids.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/id_constructors/resolvers.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/id_constructors/utils.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/knex.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/organization.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/pipeline.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/plotting/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/plotting/constants.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/plotting/highcharts.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/plotting/map/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/plotting/map/base_layer.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/plotting/map/map.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/plotting/map/overlay.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/plotting/selectable.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/project.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/remote_object.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/result/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/result/bioinfo.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/result/file_chunker.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/result/file_download.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/result/file_upload.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/result/result_file.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/result/result_folder.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/result/resumable_download_tracker.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/result/resumable_upload_tracker.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/result/utils.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/sample.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/search.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/user.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/utils.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/vc/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/vc/checksum.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/vc/cli.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/vc/clone.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/vc/constants.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/vc/vc_cache.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/vc/vc_dir.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/vc/vc_sample.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/vc/vc_stub.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq/work_orders.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq.egg-info/SOURCES.txt +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq.egg-info/dependency_links.txt +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq.egg-info/entry_points.txt +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq.egg-info/requires.txt +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/geoseeq.egg-info/top_level.txt +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/setup.cfg +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/setup.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/tests/__init__.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/tests/test_api_client.py +0 -0
- {geoseeq-0.6.12.dev0 → geoseeq-0.6.12.dev1}/tests/test_plotting.py +0 -0
@@ -54,7 +54,7 @@ def version():
|
|
54
54
|
Use of this tool implies acceptance of the GeoSeeq End User License Agreement.
|
55
55
|
Run `geoseeq eula show` to view the EULA.
|
56
56
|
"""
|
57
|
-
click.echo('0.6.
|
57
|
+
click.echo('0.6.12dev1') # remember to update pyproject.toml
|
58
58
|
|
59
59
|
|
60
60
|
@main.group('advanced')
|
@@ -127,7 +127,7 @@ class GeoSeeqUploadManager:
|
|
127
127
|
|
128
128
|
|
129
129
|
def _download_one_file(args):
|
130
|
-
original_url, file_path, callback, pbar, ignore_errors, head, log_level, parallel_downloads = args
|
130
|
+
original_url, original_original_url, file_path, callback, pbar, ignore_errors, head, log_level, parallel_downloads = args
|
131
131
|
if parallel_downloads:
|
132
132
|
_make_in_process_logger(log_level)
|
133
133
|
if isinstance(original_url, ResultFile):
|
@@ -142,7 +142,7 @@ def _download_one_file(args):
|
|
142
142
|
callback_result = callback(local_path)
|
143
143
|
else:
|
144
144
|
callback_result = None
|
145
|
-
return local_path,
|
145
|
+
return local_path, original_original_url, callback_result
|
146
146
|
except Exception as e:
|
147
147
|
if ignore_errors:
|
148
148
|
logger.error(f"Error downloading {url}: {e}")
|
@@ -195,7 +195,9 @@ class GeoSeeqDownloadManager:
|
|
195
195
|
def _convert_result_files_to_urls(self):
|
196
196
|
self._result_files = [(
|
197
197
|
url.get_download_url() if isinstance(url, ResultFile) else url,
|
198
|
-
|
198
|
+
url, # original url
|
199
|
+
file_path,
|
200
|
+
callback
|
199
201
|
) for url, file_path, callback in self._result_files]
|
200
202
|
|
201
203
|
def download_files(self):
|
@@ -205,11 +207,11 @@ class GeoSeeqDownloadManager:
|
|
205
207
|
"""
|
206
208
|
self._convert_result_files_to_urls()
|
207
209
|
download_args = [(
|
208
|
-
url, file_path, callback,
|
210
|
+
url, original_url, file_path, callback,
|
209
211
|
self.progress_tracker_factory(file_path),
|
210
212
|
self.ignore_errors, self.head, self.log_level,
|
211
213
|
self.n_parallel_downloads > 1
|
212
|
-
) for url, file_path, callback in self._result_files]
|
214
|
+
) for url, original_url, file_path, callback in self._result_files]
|
213
215
|
out = []
|
214
216
|
if self.n_parallel_downloads == 1:
|
215
217
|
logger.info(f"Downloading files in series.")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|