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.
Files changed (82) hide show
  1. {geoseeq-0.2.16 → geoseeq-0.2.17}/PKG-INFO +1 -1
  2. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/main.py +1 -1
  3. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/plotting/selectable.py +8 -7
  4. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/PKG-INFO +1 -1
  5. {geoseeq-0.2.16 → geoseeq-0.2.17}/setup.py +1 -1
  6. {geoseeq-0.2.16 → geoseeq-0.2.17}/LICENSE +0 -0
  7. {geoseeq-0.2.16 → geoseeq-0.2.17}/README.md +0 -0
  8. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/__init__.py +0 -0
  9. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/app.py +0 -0
  10. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/blob_constructors.py +0 -0
  11. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/bulk_creators.py +0 -0
  12. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/__init__.py +0 -0
  13. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/constants.py +0 -0
  14. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/copy.py +0 -0
  15. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/download.py +0 -0
  16. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/fastq_utils.py +0 -0
  17. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/manage.py +0 -0
  18. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/progress_bar.py +0 -0
  19. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/shared_params/__init__.py +0 -0
  20. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/shared_params/common_state.py +0 -0
  21. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/shared_params/id_handlers.py +0 -0
  22. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/shared_params/obj_getters.py +0 -0
  23. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/shared_params/opts_and_args.py +0 -0
  24. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/upload/__init__.py +0 -0
  25. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/upload/upload.py +0 -0
  26. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/upload/upload_reads.py +0 -0
  27. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/user.py +0 -0
  28. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/utils.py +0 -0
  29. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/cli/view.py +0 -0
  30. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/constants.py +0 -0
  31. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/__init__.py +0 -0
  32. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/ncbi/__init__.py +0 -0
  33. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/ncbi/api.py +0 -0
  34. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/ncbi/bioproject.py +0 -0
  35. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/ncbi/cli.py +0 -0
  36. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/contrib/ncbi/setup_logging.py +0 -0
  37. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/file_system_cache.py +0 -0
  38. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/__init__.py +0 -0
  39. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/from_blobs.py +0 -0
  40. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/from_ids.py +0 -0
  41. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/from_names.py +0 -0
  42. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/from_uuids.py +0 -0
  43. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/resolvers.py +0 -0
  44. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/id_constructors/utils.py +0 -0
  45. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/knex.py +0 -0
  46. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/organization.py +0 -0
  47. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/pipeline.py +0 -0
  48. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/plotting/__init__.py +0 -0
  49. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/plotting/constants.py +0 -0
  50. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/plotting/highcharts.py +0 -0
  51. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/project.py +0 -0
  52. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/remote_object.py +0 -0
  53. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/__init__.py +0 -0
  54. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/bioinfo.py +0 -0
  55. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/file_download.py +0 -0
  56. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/file_upload.py +0 -0
  57. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/result_file.py +0 -0
  58. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/result_folder.py +0 -0
  59. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/result/utils.py +0 -0
  60. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/sample.py +0 -0
  61. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/user.py +0 -0
  62. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/utils.py +0 -0
  63. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/__init__.py +0 -0
  64. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/checksum.py +0 -0
  65. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/cli.py +0 -0
  66. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/clone.py +0 -0
  67. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/constants.py +0 -0
  68. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/vc_cache.py +0 -0
  69. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/vc_dir.py +0 -0
  70. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/vc_sample.py +0 -0
  71. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/vc/vc_stub.py +0 -0
  72. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq/work_orders.py +0 -0
  73. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/SOURCES.txt +0 -0
  74. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/dependency_links.txt +0 -0
  75. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/entry_points.txt +0 -0
  76. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/requires.txt +0 -0
  77. {geoseeq-0.2.16 → geoseeq-0.2.17}/geoseeq.egg-info/top_level.txt +0 -0
  78. {geoseeq-0.2.16 → geoseeq-0.2.17}/pyproject.toml +0 -0
  79. {geoseeq-0.2.16 → geoseeq-0.2.17}/setup.cfg +0 -0
  80. {geoseeq-0.2.16 → geoseeq-0.2.17}/tests/__init__.py +0 -0
  81. {geoseeq-0.2.16 → geoseeq-0.2.17}/tests/test_api_client.py +0 -0
  82. {geoseeq-0.2.16 → geoseeq-0.2.17}/tests/test_work_orders.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geoseeq
3
- Version: 0.2.16
3
+ Version: 0.2.17
4
4
  Summary: # Geoseeq API Client
5
5
  Author: David C. Danko
6
6
  Author-email: dcdanko@biotia.io
@@ -30,7 +30,7 @@ main.add_command(cli_view)
30
30
  @main.command()
31
31
  def version():
32
32
  """Print the version of the Geoseeq API being used."""
33
- click.echo('0.2.16') # remember to update setup
33
+ click.echo('0.2.17') # remember to update setup
34
34
 
35
35
 
36
36
  @main.group('advanced')
@@ -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 keys == keys[-1]:
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 # subdata exists and is not empty
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
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geoseeq
3
- Version: 0.2.16
3
+ Version: 0.2.17
4
4
  Summary: # Geoseeq API Client
5
5
  Author: David C. Danko
6
6
  Author-email: dcdanko@biotia.io
@@ -5,7 +5,7 @@ import setuptools
5
5
 
6
6
  setuptools.setup(
7
7
  name='geoseeq',
8
- version='0.2.16', # remember to update version string in CLI as well
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