geoseeq 0.7.3.dev3__py3-none-any.whl → 0.7.3.dev4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
geoseeq/project.py CHANGED
@@ -387,8 +387,9 @@ class Project(RemoteObject):
387
387
 
388
388
  post_data = {"name": title, "is_default": default}
389
389
  self.knex.post(f"sample_groups/{self.uuid}/dashboard-list", json=post_data)
390
-
391
- return Dashboard(knex=self.knex, project=self, title=title, default=default)
390
+ return Dashboard(
391
+ knex=self.knex, project=self, title=title, default=default, tiles=[]
392
+ )
392
393
 
393
394
  def get_default_dashboard(self):
394
395
  """Get the default dashboard for this project."""
@@ -456,9 +457,9 @@ class Project(RemoteObject):
456
457
 
457
458
  def get_or_create_dashboard_by_title(self, title: str):
458
459
  """Get dashboard by title for this project or create it if does not exist."""
459
- default_dashboard = self.get_dashboard_by_title(title)
460
- if default_dashboard:
461
- return default_dashboard
460
+ dashboard = self.get_dashboard_by_title(title)
461
+ if dashboard:
462
+ return dashboard
462
463
  else:
463
464
  return self.create_dashboard(title=title, default=False)
464
465
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geoseeq
3
- Version: 0.7.3.dev3
3
+ Version: 0.7.3.dev4
4
4
  Summary: GeoSeeq command line tools and python API
5
5
  Project-URL: Homepage, https://github.com/biotia/geoseeq_api_client
6
6
  Project-URL: Issues, https://github.com/biotia/geoseeq_api_client/issues
@@ -7,7 +7,7 @@ geoseeq/file_system_cache.py,sha256=HzVZWtwLD2fjWWSo_UfWmGeBltm9He4lP_OqzKwNGWg,
7
7
  geoseeq/knex.py,sha256=zcjafsmUn9SC3LlRnvvaXpr-pHYZ0IXk7LpzuUoE3MI,8312
8
8
  geoseeq/organization.py,sha256=bJkYL8_D-k6IYAaii2ZbxjwYnXy6lvu6iLXscxKlA3w,2542
9
9
  geoseeq/pipeline.py,sha256=89mhWaecsKnm6tyRkdkaVp4dmZh62_v42Ze0oXf8OTY,9873
10
- geoseeq/project.py,sha256=Ji9eoDxlbMlmYA8O2ZdZoi_e_rY9Wlr8PxmaNDZdWyA,17068
10
+ geoseeq/project.py,sha256=jryxHMx5PdQNaMJWjlzgQmxJt_s2M-HAHARBCPd1Vzc,17075
11
11
  geoseeq/remote_object.py,sha256=GYN6PKU7Zz3htIdpFjfZiFejzGqqJHbJyKlefM1Eixk,7151
12
12
  geoseeq/sample.py,sha256=LeLJytRYERY5dkMIOWqANTPTun9wqei393qeNlPBw1U,10895
13
13
  geoseeq/search.py,sha256=gawad6Cx5FxJBPlYkXWb-UKAO-UC0_yhvyU9Ca1kaNI,3388
@@ -92,8 +92,8 @@ geoseeq/vc/vc_cache.py,sha256=P4LXTbq2zOIv1OhP7Iw5MmypR2vXuy29Pq5K6gRvi-M,730
92
92
  geoseeq/vc/vc_dir.py,sha256=A9CLTh2wWCRzZjiLyqXD1vhtsWZGD3OjaMT5KqlfAXI,457
93
93
  geoseeq/vc/vc_sample.py,sha256=qZeioWydXvfu4rGMs20nICfNcp46y_XkND-bHdV6P5M,3850
94
94
  geoseeq/vc/vc_stub.py,sha256=IQr8dI0zsWKVAeY_5ybDD6n49_3othcgfHS3P0O9tuY,3110
95
- geoseeq-0.7.3.dev3.dist-info/METADATA,sha256=V4yLbxReqp0ItzHzsgLOCTjBOHBTt8-PmQEvRycdTvw,5415
96
- geoseeq-0.7.3.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
97
- geoseeq-0.7.3.dev3.dist-info/entry_points.txt,sha256=yF-6KDM8zXib4Al0qn49TX-qM7PUkWUIcYtsgt36rjM,45
98
- geoseeq-0.7.3.dev3.dist-info/licenses/LICENSE,sha256=IuhIl1XCxXLPLJT_coN1CNqQU4Khlq7x4IdW7ioOJD8,1067
99
- geoseeq-0.7.3.dev3.dist-info/RECORD,,
95
+ geoseeq-0.7.3.dev4.dist-info/METADATA,sha256=4bfJLyjpSn16lfEIK8OvC5xbfLI4nKHhqGieH7PPsVE,5415
96
+ geoseeq-0.7.3.dev4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
97
+ geoseeq-0.7.3.dev4.dist-info/entry_points.txt,sha256=yF-6KDM8zXib4Al0qn49TX-qM7PUkWUIcYtsgt36rjM,45
98
+ geoseeq-0.7.3.dev4.dist-info/licenses/LICENSE,sha256=IuhIl1XCxXLPLJT_coN1CNqQU4Khlq7x4IdW7ioOJD8,1067
99
+ geoseeq-0.7.3.dev4.dist-info/RECORD,,