geoseeq 0.2.16__tar.gz → 0.2.17__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {geoseeq-0.2.16 → geoseeq-0.2.17}/PKG-INFO +1 -1
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/main.py +1 -1
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/plotting/selectable.py +8 -7
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/PKG-INFO +1 -1
- {geoseeq-0.2.16 → geoseeq-0.2.17}/setup.py +1 -1
- {geoseeq-0.2.16 → geoseeq-0.2.17}/LICENSE +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/README.md +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/app.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/blob_constructors.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/bulk_creators.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/constants.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/copy.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/download.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/fastq_utils.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/manage.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/progress_bar.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/shared_params/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/shared_params/common_state.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/shared_params/id_handlers.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/shared_params/obj_getters.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/shared_params/opts_and_args.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/upload/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/upload/upload.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/upload/upload_reads.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/user.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/utils.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/view.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/constants.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/ncbi/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/ncbi/api.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/ncbi/bioproject.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/ncbi/cli.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/ncbi/setup_logging.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/file_system_cache.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/from_blobs.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/from_ids.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/from_names.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/from_uuids.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/resolvers.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/utils.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/knex.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/organization.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/pipeline.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/plotting/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/plotting/constants.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/plotting/highcharts.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/project.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/remote_object.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/bioinfo.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/file_download.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/file_upload.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/result_file.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/result_folder.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/utils.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/sample.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/user.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/utils.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/checksum.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/cli.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/clone.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/constants.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/vc_cache.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/vc_dir.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/vc_sample.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/vc_stub.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/work_orders.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/SOURCES.txt +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/dependency_links.txt +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/entry_points.txt +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/requires.txt +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/top_level.txt +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/pyproject.toml +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/setup.cfg +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/tests/__init__.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/tests/test_api_client.py +0 -0
- {geoseeq-0.2.16 → geoseeq-0.2.17}/tests/test_work_orders.py +0 -0
@@ -51,7 +51,7 @@ class SelectablePlot:
|
|
51
51
|
self._add_keys(*keys)
|
52
52
|
subdata = self.data
|
53
53
|
for key in keys:
|
54
|
-
if
|
54
|
+
if key == keys[-1]:
|
55
55
|
subdata[key] = plot
|
56
56
|
subdata = subdata[key]
|
57
57
|
return self
|
@@ -60,15 +60,16 @@ class SelectablePlot:
|
|
60
60
|
"""Ensure we have plots for each key combo."""
|
61
61
|
assert self.selectors
|
62
62
|
|
63
|
-
def check_subdata(i, subdata):
|
63
|
+
def check_subdata(i, subdata, key_chain):
|
64
64
|
if i == len(self.selectors):
|
65
|
-
assert subdata
|
65
|
+
assert subdata, f"subdata does not exist or is empty. Key Chain: {key_chain}"
|
66
|
+
return
|
66
67
|
for key in self.selectors[i]:
|
67
68
|
if key not in subdata:
|
68
|
-
assert False
|
69
|
-
check_subdata(i + 1, subdata[key])
|
69
|
+
assert False, f'key: "{key}" is missing in `data`'
|
70
|
+
check_subdata(i + 1, subdata[key], key_chain + [key])
|
70
71
|
|
71
|
-
check_subdata(0, self.data)
|
72
|
+
check_subdata(0, self.data, [])
|
72
73
|
|
73
74
|
def to_dict(self):
|
74
75
|
"""Return the selectable plot as a dictionary."""
|
@@ -77,4 +78,4 @@ class SelectablePlot:
|
|
77
78
|
'version': self.VERSION,
|
78
79
|
'selectors': [s.to_dict() for s in self.selectors],
|
79
80
|
'data': self.data,
|
80
|
-
}
|
81
|
+
}
|
@@ -5,7 +5,7 @@ import setuptools
|
|
5
5
|
|
6
6
|
setuptools.setup(
|
7
7
|
name='geoseeq',
|
8
|
-
version='0.2.
|
8
|
+
version='0.2.17', # remember to update version string in CLI as well
|
9
9
|
author="David C. Danko",
|
10
10
|
author_email='dcdanko@biotia.io',
|
11
11
|
description=open('README.md').read(),
|
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
|