geoseeq 0.5.6a13__tar.gz → 0.5.6a14__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/PKG-INFO +1 -1
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/main.py +1 -1
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/upload/upload.py +1 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/knex.py +3 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/result/file_upload.py +3 -2
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq.egg-info/PKG-INFO +1 -1
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/pyproject.toml +1 -1
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/LICENSE +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/README.md +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/app.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/blob_constructors.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/bulk_creators.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/constants.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/copy.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/detail.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/download.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/fastq_utils.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/get_eula.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/manage.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/progress_bar.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/run.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/search.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/shared_params/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/shared_params/common_state.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/shared_params/config.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/shared_params/id_handlers.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/shared_params/obj_getters.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/shared_params/opts_and_args.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/upload/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/upload/upload_advanced.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/upload/upload_reads.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/user.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/utils.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/cli/view.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/constants.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/contrib/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/contrib/ncbi/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/contrib/ncbi/api.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/contrib/ncbi/bioproject.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/contrib/ncbi/cli.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/contrib/ncbi/setup_logging.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/file_system_cache.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/id_constructors/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/id_constructors/from_blobs.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/id_constructors/from_ids.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/id_constructors/from_names.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/id_constructors/from_uuids.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/id_constructors/resolvers.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/id_constructors/utils.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/organization.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/pipeline.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/plotting/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/plotting/constants.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/plotting/highcharts.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/plotting/map/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/plotting/map/base_layer.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/plotting/map/map.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/plotting/map/overlay.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/plotting/selectable.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/project.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/remote_object.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/result/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/result/bioinfo.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/result/file_download.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/result/result_file.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/result/result_folder.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/result/utils.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/sample.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/search.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/upload_download_manager.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/user.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/utils.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/vc/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/vc/checksum.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/vc/cli.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/vc/clone.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/vc/constants.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/vc/vc_cache.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/vc/vc_dir.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/vc/vc_sample.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/vc/vc_stub.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq/work_orders.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq.egg-info/SOURCES.txt +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq.egg-info/dependency_links.txt +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq.egg-info/entry_points.txt +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/geoseeq.egg-info/top_level.txt +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/setup.cfg +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/setup.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/tests/__init__.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/tests/test_api_client.py +0 -0
- {geoseeq-0.5.6a13 → geoseeq-0.5.6a14}/tests/test_plotting.py +0 -0
@@ -53,7 +53,7 @@ def version():
|
|
53
53
|
Use of this tool implies acceptance of the GeoSeeq End User License Agreement.
|
54
54
|
Run `geoseeq eula show` to view the EULA.
|
55
55
|
"""
|
56
|
-
click.echo('0.5.
|
56
|
+
click.echo('0.5.6a14') # remember to update setup
|
57
57
|
|
58
58
|
|
59
59
|
@main.group('advanced')
|
@@ -121,6 +121,7 @@ def cli_upload_file(state, cores, threads_per_upload, num_retries, ignore_errors
|
|
121
121
|
use_cache=state.use_cache,
|
122
122
|
num_retries=num_retries,
|
123
123
|
ignore_errors=ignore_errors,
|
124
|
+
session=knex.new_session(),
|
124
125
|
)
|
125
126
|
for geoseeq_file_name, file_path in name_pairs:
|
126
127
|
if isfile(file_path):
|
@@ -184,15 +184,16 @@ class ResultFileUpload:
|
|
184
184
|
logger.debug(f"Upload for part {num + 1} succeeded.")
|
185
185
|
break
|
186
186
|
except (requests.exceptions.HTTPError, requests.exceptions.SSLError, requests.exceptions.ConnectionError) as e:
|
187
|
+
attempts += 1
|
187
188
|
logger.debug(
|
188
|
-
f"Upload for part {num + 1} failed. Attempt {attempts
|
189
|
+
f"Upload for part {num + 1} failed. Attempt {attempts} of {max_retries}. Error: {e}"
|
189
190
|
)
|
190
|
-
attempts += 1
|
191
191
|
if attempts >= max_retries:
|
192
192
|
raise e
|
193
193
|
|
194
194
|
retry_time = min(8 ** attempts, 120) # exponential backoff, max 120s
|
195
195
|
retry_time *= 0.8 + (random() * 0.4) # randomize to avoid thundering herd
|
196
|
+
logger.debug(f"Retrying upload for part {num + 1} in {retry_time} seconds.")
|
196
197
|
time.sleep(retry_time)
|
197
198
|
|
198
199
|
etag = http_response.headers["ETag"].replace('"', "")
|
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
|