cg 83.16.3__py3-none-any.whl → 83.16.4__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.
cg/__init__.py CHANGED
@@ -1,2 +1,2 @@
1
1
  __title__ = "cg"
2
- __version__ = "83.16.3"
2
+ __version__ = "83.16.4"
cg/server/admin.py CHANGED
@@ -31,6 +31,11 @@ class BaseView(ModelView):
31
31
  return redirect(url_for("google.login", next=request.url))
32
32
 
33
33
 
34
+ def view_hifi_yield_in_gb(unused1, unused2, model, unused3):
35
+ del unused1, unused2, unused3
36
+ return Markup(f"{round(model.hifi_yield/1E9, 1)} Gb") if model.hifi_yield else ""
37
+
38
+
34
39
  def view_priority(unused1, unused2, model, unused3):
35
40
  """column formatter for priority"""
36
41
  del unused1, unused2, unused3
@@ -780,6 +785,7 @@ class SampleView(BaseView):
780
785
  column_formatters = {
781
786
  "application_version": view_application_link_via_application_version,
782
787
  "customer": view_customer_link,
788
+ "hifi_yield": view_hifi_yield_in_gb,
783
789
  "internal_id": view_case_sample_link,
784
790
  "invoice": InvoiceView.view_invoice_link,
785
791
  "original_ticket": view_ticket_link,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cg
3
- Version: 83.16.3
3
+ Version: 83.16.4
4
4
  Summary: Clinical Genomics command center
5
5
  Requires-Python: >=3.11,<3.13
6
6
  Classifier: Programming Language :: Python
@@ -1,4 +1,4 @@
1
- cg/__init__.py,sha256=-KNsXPFJmxOXBBMRVpEqc8plX6zgZhPUuS3dv88wMVY,41
1
+ cg/__init__.py,sha256=fHsf7E2iBNtyrOiJBDtalgvzOQSE9J5bZSELyUzX-Bw,41
2
2
  cg/apps/__init__.py,sha256=pYf0vxo4iYQqURzFRYzqpOCdV8Cm9MWx0GHvJOz0EMg,315
3
3
  cg/apps/coverage/__init__.py,sha256=dJtsmNf8tODE2-VEomMIoYA7ugLYZAk_upsfOQCZeF8,27
4
4
  cg/apps/coverage/api.py,sha256=e_ozC3QeNKoEfpjjMaL-XjeBLtz-JySWccrtw0E9mLM,2940
@@ -466,7 +466,7 @@ cg/resources/rnafusion_bundle_filenames.yaml,sha256=hoXuTobKbjH7W7dld87rSF7X0r4K
466
466
  cg/resources/taxprofiler_bundle_filenames.yaml,sha256=AULMEAYkMzADYUtVtuSmBj7UaAIlLGRDyBMEOO0xWz8,2871
467
467
  cg/resources/tomte_bundle_filenames.yaml,sha256=lFxk9GssmCyKBUn5lbRBtBS9FS9cABaoVzb-e2zrJac,4144
468
468
  cg/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
469
- cg/server/admin.py,sha256=cC2PZXGguuCtodhajx5mLe223-WNsJ24iK99SpAc138,29913
469
+ cg/server/admin.py,sha256=XFr_wxXLyyUB6orQ1mFUHto4NFgJAMBgfEoR2p-RbeQ,30141
470
470
  cg/server/app.py,sha256=WEULzx5JeC0aJHag3Vltzopd8r7tgHPr_1nbytS-AI8,6975
471
471
  cg/server/app_config.py,sha256=8DaNtYtdp6A29FAuTFX-Lk7SLv7Zx-_f57ZU0-T_3ZI,1403
472
472
  cg/server/auto.py,sha256=5DqokNScv483imZTvOYrJo6wV9-P7ZGnJaaHnfnNJLs,57
@@ -922,7 +922,7 @@ cg/utils/flask/enum.py,sha256=xwNVtFPkSzoloJctLHu7obRyxcng1GJrhkeYkqwf9tw,1052
922
922
  cg/utils/mapping.py,sha256=oZpZW2kgsbtAP2FZ7RtRPELiEE1zZk_nAGisHGtCOUo,491
923
923
  cg/utils/time.py,sha256=_VOglhrFEZ5cwHK1U1g36SdwzB7UvV-Nvlt4ymuZUho,1501
924
924
  cg/utils/utils.py,sha256=RciI_UhWcnG_pMZrmQZ1ZYb-O1N0DweTYMmhE0SIRgQ,1410
925
- cg-83.16.3.dist-info/METADATA,sha256=-3RkahOJHJQFkkc8FaLjRE5SMl3EluVnHVgux1aM9Mk,4940
926
- cg-83.16.3.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
927
- cg-83.16.3.dist-info/entry_points.txt,sha256=q5f47YQQGltzK_xnIq1mDopRXXEItr85Xe1BCtG-Wts,39
928
- cg-83.16.3.dist-info/RECORD,,
925
+ cg-83.16.4.dist-info/METADATA,sha256=o4bGotxkz_SJ-MVCg5JZnXTx65FWbMp6YpGxpvIqEqE,4940
926
+ cg-83.16.4.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
927
+ cg-83.16.4.dist-info/entry_points.txt,sha256=q5f47YQQGltzK_xnIq1mDopRXXEItr85Xe1BCtG-Wts,39
928
+ cg-83.16.4.dist-info/RECORD,,
File without changes