geoseeq 0.6.12.dev2__tar.gz → 0.6.13.dev1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/PKG-INFO +1 -1
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/main.py +1 -1
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/id_constructors/from_ids.py +1 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/knex.py +4 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/upload_download_manager.py +6 -7
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq.egg-info/PKG-INFO +1 -1
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/pyproject.toml +1 -1
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/LICENSE +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/README.md +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/app.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/blob_constructors.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/bulk_creators.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/constants.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/copy.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/detail.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/download.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/fastq_utils.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/get_eula.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/manage.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/progress_bar.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/project.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/raw.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/run.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/search.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/shared_params/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/shared_params/common_state.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/shared_params/config.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/shared_params/id_handlers.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/shared_params/obj_getters.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/shared_params/opts_and_args.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/upload/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/upload/upload.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/upload/upload_advanced.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/upload/upload_reads.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/user.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/utils.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/cli/view.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/constants.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/contrib/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/contrib/ncbi/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/contrib/ncbi/api.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/contrib/ncbi/bioproject.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/contrib/ncbi/cli.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/contrib/ncbi/setup_logging.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/file_system_cache.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/id_constructors/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/id_constructors/from_blobs.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/id_constructors/from_names.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/id_constructors/from_uuids.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/id_constructors/resolvers.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/id_constructors/utils.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/organization.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/pipeline.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/plotting/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/plotting/constants.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/plotting/highcharts.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/plotting/map/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/plotting/map/base_layer.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/plotting/map/map.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/plotting/map/overlay.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/plotting/selectable.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/project.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/remote_object.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/result/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/result/bioinfo.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/result/file_chunker.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/result/file_download.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/result/file_upload.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/result/result_file.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/result/result_folder.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/result/resumable_download_tracker.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/result/resumable_upload_tracker.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/result/utils.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/sample.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/search.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/user.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/utils.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/vc/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/vc/checksum.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/vc/cli.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/vc/clone.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/vc/constants.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/vc/vc_cache.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/vc/vc_dir.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/vc/vc_sample.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/vc/vc_stub.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq/work_orders.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq.egg-info/SOURCES.txt +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq.egg-info/dependency_links.txt +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq.egg-info/entry_points.txt +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq.egg-info/requires.txt +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/geoseeq.egg-info/top_level.txt +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/setup.cfg +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/setup.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/tests/__init__.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.dev1}/tests/test_api_client.py +0 -0
- {geoseeq-0.6.12.dev2 → geoseeq-0.6.13.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.13dev1') # remember to update pyproject.toml
|
58
58
|
|
59
59
|
|
60
60
|
@main.group('advanced')
|
@@ -27,6 +27,7 @@ from geoseeq.knex import with_knex
|
|
27
27
|
|
28
28
|
def _generic_from_id(knex, id, from_uuid_func, from_name_func):
|
29
29
|
"""Return the object which the id points to."""
|
30
|
+
logger.info(f'Getting object from id: {id}, knex: {knex}, from_uuid_func: {from_uuid_func}, from_name_func: {from_name_func}')
|
30
31
|
if is_grn_or_uuid(id):
|
31
32
|
id = id.split(':')[-1] # if this is a GRN, get the UUID. Won't hurt if it's already a UUID.
|
32
33
|
return from_uuid_func(knex, id)
|
@@ -222,16 +222,20 @@ class Knex:
|
|
222
222
|
def with_knex(func):
|
223
223
|
def wrapper(*args, **kwargs):
|
224
224
|
# check if any of the arguments are a knex instance
|
225
|
+
logger.info(f"Checking for knex in args: {args}, kwargs: {kwargs}")
|
225
226
|
any_knex = any([isinstance(arg, Knex) for arg in args])
|
226
227
|
if any_knex:
|
228
|
+
logger.info("knex found in args")
|
227
229
|
return func(*args, **kwargs)
|
228
230
|
else:
|
231
|
+
logger.info("knex not found in args")
|
229
232
|
varnames = [
|
230
233
|
varname for varname in func.__code__.co_varnames
|
231
234
|
if varname != "knex"
|
232
235
|
]
|
233
236
|
kwargs.update(zip(varnames, args))
|
234
237
|
if "knex" not in kwargs:
|
238
|
+
logger.info("knex not found in kwargs")
|
235
239
|
profile = kwargs.pop("profile", "")
|
236
240
|
kwargs['knex'] = Knex.load_profile(profile=profile)
|
237
241
|
# reorder kwargs to match the function signature
|
@@ -127,17 +127,16 @@ class GeoSeeqUploadManager:
|
|
127
127
|
|
128
128
|
|
129
129
|
def _download_one_file(args):
|
130
|
-
|
130
|
+
url, file_path, key, callback, pbar, ignore_errors, head, log_level, parallel_downloads = args
|
131
131
|
if parallel_downloads:
|
132
132
|
_make_in_process_logger(log_level)
|
133
|
-
if
|
134
|
-
|
133
|
+
if dirname(file_path):
|
134
|
+
makedirs(dirname(file_path), exist_ok=True)
|
135
|
+
if isinstance(url, ResultFile):
|
136
|
+
local_path = url.download(filename=file_path, progress_tracker=pbar, head=head)
|
135
137
|
else:
|
136
|
-
url = original_url
|
137
|
-
try:
|
138
|
-
if dirname(file_path):
|
139
|
-
makedirs(dirname(file_path), exist_ok=True)
|
140
138
|
local_path = download_url(url, filename=file_path, progress_tracker=pbar, head=head)
|
139
|
+
try:
|
141
140
|
if callback is not None:
|
142
141
|
callback_result = callback(local_path)
|
143
142
|
else:
|
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
|