geoseeq 0.6.13.dev1__py3-none-any.whl → 0.6.13.dev2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
geoseeq/cli/main.py CHANGED
@@ -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.13dev1') # remember to update pyproject.toml
57
+ click.echo('0.6.13dev2') # remember to update pyproject.toml
58
58
 
59
59
 
60
60
  @main.group('advanced')
@@ -1,4 +1,5 @@
1
1
  from geoseeq import GeoseeqNotFoundError
2
+ import logging
2
3
  from .from_uuids import (
3
4
  org_from_uuid,
4
5
  project_from_uuid,
@@ -24,6 +25,8 @@ from .from_names import (
24
25
  from .utils import is_grn_or_uuid, is_name
25
26
  from geoseeq.knex import with_knex
26
27
 
28
+ logger = logging.getLogger("geoseeq_api") # Same name as calling module
29
+
27
30
 
28
31
  def _generic_from_id(knex, id, from_uuid_func, from_name_func):
29
32
  """Return the object which the id points to."""
geoseeq/knex.py CHANGED
@@ -225,17 +225,17 @@ def with_knex(func):
225
225
  logger.info(f"Checking for knex in args: {args}, kwargs: {kwargs}")
226
226
  any_knex = any([isinstance(arg, Knex) for arg in args])
227
227
  if any_knex:
228
- logger.info("knex found in args")
228
+ logger.info("knex found in args args: {args}, kwargs: {kwargs}")
229
229
  return func(*args, **kwargs)
230
230
  else:
231
- logger.info("knex not found in args")
231
+ logger.info("knex not found in args args: {args}, kwargs: {kwargs}")
232
232
  varnames = [
233
233
  varname for varname in func.__code__.co_varnames
234
234
  if varname != "knex"
235
235
  ]
236
236
  kwargs.update(zip(varnames, args))
237
237
  if "knex" not in kwargs:
238
- logger.info("knex not found in kwargs")
238
+ logger.info("knex not found in kwargs args: {args}, kwargs: {kwargs}")
239
239
  profile = kwargs.pop("profile", "")
240
240
  kwargs['knex'] = Knex.load_profile(profile=profile)
241
241
  # reorder kwargs to match the function signature
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: geoseeq
3
- Version: 0.6.13.dev1
3
+ Version: 0.6.13.dev2
4
4
  Summary: GeoSeeq command line tools and python API
5
5
  Author: David C. Danko
6
6
  Author-email: "David C. Danko" <dcdanko@biotia.io>
@@ -4,7 +4,7 @@ geoseeq/blob_constructors.py,sha256=AkWpDQY0EdGMxF1p6eRspyHKubcUdiW4it-_Q7S2QWk,
4
4
  geoseeq/bulk_creators.py,sha256=pdn-Dv7yv5SFv-PfDuQbuOnw2W4-BfIfRJVRAhM8U6s,2115
5
5
  geoseeq/constants.py,sha256=z_ninEd7WsS5DaLntdR-sqAFib6Ie22jlhPKzLvLerw,449
6
6
  geoseeq/file_system_cache.py,sha256=HzVZWtwLD2fjWWSo_UfWmGeBltm9He4lP_OqzKwNGWg,4138
7
- geoseeq/knex.py,sha256=42ZTb4I2Qm11HicUM5eG5YD1u4zRD2q0UabZixjPUAw,8215
7
+ geoseeq/knex.py,sha256=6sly3TMJk-kQSoinkDUrclg5ZFCLEwXqAzgmMwatpvQ,8308
8
8
  geoseeq/organization.py,sha256=bJkYL8_D-k6IYAaii2ZbxjwYnXy6lvu6iLXscxKlA3w,2542
9
9
  geoseeq/pipeline.py,sha256=89mhWaecsKnm6tyRkdkaVp4dmZh62_v42Ze0oXf8OTY,9873
10
10
  geoseeq/project.py,sha256=kN6m1N4Tlud7saU03Sbir-oIBnXet_Cwi2OVVdaeag0,13929
@@ -22,7 +22,7 @@ geoseeq/cli/detail.py,sha256=q8Suu-j2k18knfSVFG-SWWGNsKM-n8y9RMA3LcIIi9Y,4132
22
22
  geoseeq/cli/download.py,sha256=W3OswqpHg1thzW6CJ7IcSS0Te2LA2WfgYISQMSl4GQg,18921
23
23
  geoseeq/cli/fastq_utils.py,sha256=-bmeQLaiMBm57zWOF0R5OlWTU0_3sh1JBC1RYw2BOFM,3083
24
24
  geoseeq/cli/get_eula.py,sha256=79mbUwyiF7O1r0g6UTxG9kJGQEqKuH805E6eLkPC6Y4,997
25
- geoseeq/cli/main.py,sha256=96NtlJGhOFRKQTRaH15JhDKekkuEug15ir2G-jsd_Os,3922
25
+ geoseeq/cli/main.py,sha256=dlp7N-Glii0BXhlGQ8RFrsIj62Drt3gE2QjDwP2PNAU,3922
26
26
  geoseeq/cli/manage.py,sha256=wGXAcVaXqE5JQEU8Jh6OlHr02nB396bpS_SFcOZdrEo,5929
27
27
  geoseeq/cli/progress_bar.py,sha256=p1Xl01nkYxSBZCB30ue2verIIi22W93m3ZAMAxipD0g,738
28
28
  geoseeq/cli/project.py,sha256=V5SdXm2Hwo2lxrkpwRDedw-mAE4XnM2uwT-Gj1D90VQ,3030
@@ -50,7 +50,7 @@ geoseeq/contrib/ncbi/cli.py,sha256=j9zEcaZPTryK3a4xluRxigcJKDhRpRxbp3KZSx-Bfhk,2
50
50
  geoseeq/contrib/ncbi/setup_logging.py,sha256=Tp1bY1U0f-o739aHpvVYriG2qdd1lFvCYBXZeXQgt-w,175
51
51
  geoseeq/id_constructors/__init__.py,sha256=w5E0PNQ9UuAxBeZbDI7KBnUoERd85gGz3nScz45bd2o,126
52
52
  geoseeq/id_constructors/from_blobs.py,sha256=aj7M7NRpKGs3u3xUvuFJwmJdFeIcJPmaI2_bhwbFfEs,5702
53
- geoseeq/id_constructors/from_ids.py,sha256=m1J3cN7s_Oncz1MsxjbesxNJm5L4b8CKLpWtI1Uo3gg,3282
53
+ geoseeq/id_constructors/from_ids.py,sha256=ViQAoyXujwS7d93M2rvST1lS_dcrINNlqfuaU9UaABM,3371
54
54
  geoseeq/id_constructors/from_names.py,sha256=RqgFjDsAwQcidMkZwX7oB00OvBAKTiilHYetTPogJ40,4174
55
55
  geoseeq/id_constructors/from_uuids.py,sha256=5NrQoRBNBfiB48SIB6QFZvO0lxNrxAHbu1MDkNRSu_4,3305
56
56
  geoseeq/id_constructors/resolvers.py,sha256=8hp5xJSCoZrAXtMT54Hp4okt63l909XqJU3IQx-VCgc,2676
@@ -85,9 +85,9 @@ geoseeq/vc/vc_stub.py,sha256=IQr8dI0zsWKVAeY_5ybDD6n49_3othcgfHS3P0O9tuY,3110
85
85
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
86
  tests/test_api_client.py,sha256=TS5njc5pcPP_Ycy-ljcfPVT1hQRBsFVdQ0lCqBmoesU,12810
87
87
  tests/test_plotting.py,sha256=TcTu-2ARr8sxZJ7wPQxmbs3-gHw7uRvsgrhhhg0qKik,784
88
- geoseeq-0.6.13.dev1.dist-info/LICENSE,sha256=IuhIl1XCxXLPLJT_coN1CNqQU4Khlq7x4IdW7ioOJD8,1067
89
- geoseeq-0.6.13.dev1.dist-info/METADATA,sha256=GFWZaxBpvGLLgzX34ETHyeSCt40B7sXmuVrNzovwkGs,4937
90
- geoseeq-0.6.13.dev1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
91
- geoseeq-0.6.13.dev1.dist-info/entry_points.txt,sha256=yF-6KDM8zXib4Al0qn49TX-qM7PUkWUIcYtsgt36rjM,45
92
- geoseeq-0.6.13.dev1.dist-info/top_level.txt,sha256=zZk7mmeaqAYqFJG8nq2DTgSQPbflRjJwkDIhNURPDEU,14
93
- geoseeq-0.6.13.dev1.dist-info/RECORD,,
88
+ geoseeq-0.6.13.dev2.dist-info/LICENSE,sha256=IuhIl1XCxXLPLJT_coN1CNqQU4Khlq7x4IdW7ioOJD8,1067
89
+ geoseeq-0.6.13.dev2.dist-info/METADATA,sha256=6cFoHN6O8aF2XuYU16w9RS6W2K9T1YBcfyDE3MkM1-4,4937
90
+ geoseeq-0.6.13.dev2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
91
+ geoseeq-0.6.13.dev2.dist-info/entry_points.txt,sha256=yF-6KDM8zXib4Al0qn49TX-qM7PUkWUIcYtsgt36rjM,45
92
+ geoseeq-0.6.13.dev2.dist-info/top_level.txt,sha256=zZk7mmeaqAYqFJG8nq2DTgSQPbflRjJwkDIhNURPDEU,14
93
+ geoseeq-0.6.13.dev2.dist-info/RECORD,,