cg 83.13.1__py3-none-any.whl → 83.13.3__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.13.1"
2
+ __version__ = "83.13.3"
cg/server/admin.py CHANGED
@@ -302,10 +302,11 @@ class ApplicationView(BaseView):
302
302
  def on_model_change(self, form: Form, model: Application, is_created: bool):
303
303
  """Override to persist entries to the OrderTypeApplication table."""
304
304
  super(ApplicationView, self).on_model_change(form=form, model=model, is_created=is_created)
305
- order_types: list[OrderType] = form["suitable_order_types"].data
306
- applications_service.update_application_order_types(
307
- application=model, order_types=order_types
308
- )
305
+ if "suitable_order_types" in form.data:
306
+ order_types: list[OrderType] = form["suitable_order_types"].data
307
+ applications_service.update_application_order_types(
308
+ application=model, order_types=order_types
309
+ )
309
310
 
310
311
  def edit_form(self, obj=None):
311
312
  """Override to prefill the order types according to the current Application entry."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cg
3
- Version: 83.13.1
3
+ Version: 83.13.3
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=Auf_lzHvzkmKz18pBEx2Cz9EbNIaUNIG8NlM941-bIs,41
1
+ cg/__init__.py,sha256=7BuDkW3ecOxdQ17R23C4DkKxsn1kIqKjJSk0PKbZr7U,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
@@ -467,7 +467,7 @@ cg/resources/rnafusion_bundle_filenames.yaml,sha256=hoXuTobKbjH7W7dld87rSF7X0r4K
467
467
  cg/resources/taxprofiler_bundle_filenames.yaml,sha256=AULMEAYkMzADYUtVtuSmBj7UaAIlLGRDyBMEOO0xWz8,2871
468
468
  cg/resources/tomte_bundle_filenames.yaml,sha256=lFxk9GssmCyKBUn5lbRBtBS9FS9cABaoVzb-e2zrJac,4144
469
469
  cg/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
470
- cg/server/admin.py,sha256=FbvMTtkodpDmaKCFqTRWLz4XohZPT8Gpvy2U8LKW-do,29849
470
+ cg/server/admin.py,sha256=cC2PZXGguuCtodhajx5mLe223-WNsJ24iK99SpAc138,29913
471
471
  cg/server/app.py,sha256=WEULzx5JeC0aJHag3Vltzopd8r7tgHPr_1nbytS-AI8,6975
472
472
  cg/server/app_config.py,sha256=8DaNtYtdp6A29FAuTFX-Lk7SLv7Zx-_f57ZU0-T_3ZI,1403
473
473
  cg/server/auto.py,sha256=5DqokNScv483imZTvOYrJo6wV9-P7ZGnJaaHnfnNJLs,57
@@ -923,7 +923,7 @@ cg/utils/flask/enum.py,sha256=xwNVtFPkSzoloJctLHu7obRyxcng1GJrhkeYkqwf9tw,1052
923
923
  cg/utils/mapping.py,sha256=oZpZW2kgsbtAP2FZ7RtRPELiEE1zZk_nAGisHGtCOUo,491
924
924
  cg/utils/time.py,sha256=_VOglhrFEZ5cwHK1U1g36SdwzB7UvV-Nvlt4ymuZUho,1501
925
925
  cg/utils/utils.py,sha256=RciI_UhWcnG_pMZrmQZ1ZYb-O1N0DweTYMmhE0SIRgQ,1410
926
- cg-83.13.1.dist-info/METADATA,sha256=r_V24qEKSCa6zy08n6UffmAAYKP7uZejbBOzVaWJUEo,4940
927
- cg-83.13.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
928
- cg-83.13.1.dist-info/entry_points.txt,sha256=q5f47YQQGltzK_xnIq1mDopRXXEItr85Xe1BCtG-Wts,39
929
- cg-83.13.1.dist-info/RECORD,,
926
+ cg-83.13.3.dist-info/METADATA,sha256=DhvQrRopWX7HGbwF1GgTJthjXpxPR4BgcpxTs9hMhg4,4940
927
+ cg-83.13.3.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
928
+ cg-83.13.3.dist-info/entry_points.txt,sha256=q5f47YQQGltzK_xnIq1mDopRXXEItr85Xe1BCtG-Wts,39
929
+ cg-83.13.3.dist-info/RECORD,,
File without changes