cg 83.11.7__py3-none-any.whl → 83.12.0__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.11.7"
2
+ __version__ = "83.12.0"
cg/server/admin.py CHANGED
@@ -246,6 +246,8 @@ class ApplicationView(BaseView):
246
246
  "is_accredited",
247
247
  "target_reads",
248
248
  "percent_reads_guaranteed",
249
+ "target_hifi_yield",
250
+ "percent_hifi_yield_guaranteed",
249
251
  "comment",
250
252
  "prep_category",
251
253
  "sequencing_depth",
cg/server/app.py CHANGED
@@ -20,7 +20,6 @@ from cg.server.endpoints.sequencing_metrics.pacbio_sequencing_metrics import (
20
20
  PACBIO_SAMPLE_SEQUENCING_METRICS_BLUEPRINT,
21
21
  )
22
22
  from cg.server.endpoints.sequencing_run.pacbio_sequencing_run import (
23
- PACBIO_SEQUENCING_RUN_BLUEPRINT,
24
23
  PACBIO_SEQUENCING_RUNS_BLUEPRINT,
25
24
  )
26
25
  from cg.server.endpoints.sequencing_run.pacbio_smrt_cell_metrics import (
@@ -113,7 +112,6 @@ def _register_blueprints(app: Flask):
113
112
  app.register_blueprint(ANALYSES_BLUEPRINT)
114
113
  app.register_blueprint(USERS_BLUEPRINT)
115
114
  app.register_blueprint(PACBIO_SAMPLE_SEQUENCING_METRICS_BLUEPRINT)
116
- app.register_blueprint(PACBIO_SEQUENCING_RUN_BLUEPRINT)
117
115
  app.register_blueprint(PACBIO_SEQUENCING_RUNS_BLUEPRINT)
118
116
  app.register_blueprint(PACBIO_SMRT_CELL_METRICS_BLUEPRINT)
119
117
  app.register_blueprint(INDEX_SEQUENCES_BLUEPRINT)
@@ -7,33 +7,19 @@ from cg.server.endpoints.error_handler import handle_missing_entries
7
7
  from cg.server.endpoints.sequencing_run.dtos import (
8
8
  PacbioSequencingRunResponse,
9
9
  PacbioSequencingRunUpdateRequest,
10
- PacbioSmrtCellMetricsResponse,
11
10
  )
12
11
  from cg.server.endpoints.utils import before_request
13
12
  from cg.server.ext import pacbio_sequencing_runs_service
14
13
 
15
- PACBIO_SEQUENCING_RUN_BLUEPRINT = Blueprint(
16
- "pacbio_sequencing_run", __name__, url_prefix="/api/v1/pacbio_sequencing_run"
17
- )
18
14
  PACBIO_SEQUENCING_RUNS_BLUEPRINT = Blueprint(
19
15
  "pacbio_sequencing_runs", __name__, url_prefix="/api/v1/"
20
16
  )
21
- PACBIO_SEQUENCING_RUN_BLUEPRINT.before_request(before_request)
22
17
  PACBIO_SEQUENCING_RUNS_BLUEPRINT.before_request(before_request)
23
18
 
24
19
 
25
- @PACBIO_SEQUENCING_RUN_BLUEPRINT.route("/<run_name>", methods=["GET"])
26
- @handle_missing_entries
27
- def get_sequencing_runs(run_name: str):
28
- response: PacbioSmrtCellMetricsResponse = (
29
- pacbio_sequencing_runs_service.get_sequencing_runs_by_name(run_name)
30
- )
31
- return jsonify(response.model_dump())
32
-
33
-
34
20
  @PACBIO_SEQUENCING_RUNS_BLUEPRINT.route("/pacbio_sequencing_runs", methods=["GET"])
35
21
  @handle_missing_entries
36
- def get_sequencing_runs_new(): # TODO rename endpoint to pacbio_sequencing_runs
22
+ def get_sequencing_runs():
37
23
  page: int = int(request.args.get("page", "0"))
38
24
  page_size: int = int(request.args.get("pageSize", "0"))
39
25
  sequencing_runs: PacbioSequencingRunResponse = (
cg/store/models.py CHANGED
@@ -147,6 +147,8 @@ class Application(Base):
147
147
  min_sequencing_depth: Mapped[int] = mapped_column(default=0)
148
148
  target_reads: Mapped[BigInt | None] = mapped_column(default=0)
149
149
  percent_reads_guaranteed: Mapped[int]
150
+ target_hifi_yield: Mapped[BigInt | None] = mapped_column(default=None)
151
+ percent_hifi_yield_guaranteed: Mapped[int | None] = mapped_column(default=None)
150
152
  sample_amount: Mapped[int | None]
151
153
  sample_volume: Mapped[Text | None]
152
154
  sample_concentration: Mapped[Text | None]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cg
3
- Version: 83.11.7
3
+ Version: 83.12.0
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=cVAlORTVn7sMHijL2MCXrMfB0Y97T8by6e2chlzpCE8,41
1
+ cg/__init__.py,sha256=QYeMJF37x9RzmsTZYc1lCpGDCLcZnJkcVPsodSKqAXg,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,8 +467,8 @@ 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=JUZvNdTwjfNoZbSo_tZNS-ZMAeRKheAW9nfAcrrkw6w,29522
471
- cg/server/app.py,sha256=wb1nsK4LNcFYG0bp_JXpghX3Q0-bRx687Y1S1hVBRU0,7072
470
+ cg/server/admin.py,sha256=m3Wnj02wOk98ozcb-s5A7TH2VyNj_34griSG4JF53ts,29592
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
474
474
  cg/server/dto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -499,7 +499,7 @@ cg/server/endpoints/sequencing_metrics/error_handler.py,sha256=rVASP7uk1qSA5qu__
499
499
  cg/server/endpoints/sequencing_metrics/illumina_sequencing_metrics.py,sha256=IvXMH2KIeOH98lJkaFLPFIRj7j6uW3oBaJZozQ5Tva0,810
500
500
  cg/server/endpoints/sequencing_metrics/pacbio_sequencing_metrics.py,sha256=iglo2cOYSPuK4HAWH4XPGLgbZOst2spdB7A6mQ8th8g,1218
501
501
  cg/server/endpoints/sequencing_run/dtos.py,sha256=ezs1TW0XyKO8gYyRreq6iQsFwLtgV8tzO96fzXT6kWg,1023
502
- cg/server/endpoints/sequencing_run/pacbio_sequencing_run.py,sha256=Ap8hVJUvGUzOHyiYw7RDgLsrdelae1K8U19Ibb6rT5c,2115
502
+ cg/server/endpoints/sequencing_run/pacbio_sequencing_run.py,sha256=HvV7EPwrh_xe5ZjerQYoBK-bIdKLBZ1nk16whGSDAmw,1524
503
503
  cg/server/endpoints/sequencing_run/pacbio_smrt_cell_metrics.py,sha256=FVETf-KUghGbb7KGO2sDYWISp3Z9gnublo-9ekQHUuk,819
504
504
  cg/server/endpoints/users.py,sha256=48z9Si2EuJ6wcN8jBIr0yvmtgygozYgUIytyFuTzFao,696
505
505
  cg/server/endpoints/utils.py,sha256=RjhrcBqY3Mfg_hZIeXr6SfmCTu4FMpan-n5UNDjOeMg,2251
@@ -904,7 +904,7 @@ cg/store/filters/status_panel_filters.py,sha256=qMYhIsrF9G3mjCvL9b9O2l_cmD3SfPWh
904
904
  cg/store/filters/status_pool_filters.py,sha256=XcYqe2z5k_q09xpp4cleDMQ4Q3o2y7UPCkB0QUkl1ck,4308
905
905
  cg/store/filters/status_sample_filters.py,sha256=mRpt_ik7niMjBo9K7pP8cmdfDMdr0B3I6Tt2MWXkLoc,9656
906
906
  cg/store/filters/status_user_filters.py,sha256=sMwKeWqgEtqv8gyhbN_Uf5huPUxbOt5qEqMWVu67Zys,1328
907
- cg/store/models.py,sha256=7Fa_DvM8Cf0W5krBjHlK5MiQ2eOTrQ8Y_a3XlNQKMHw,42826
907
+ cg/store/models.py,sha256=HUwzqktZ-Fil7QTGwLJl7LSOb_nty1oJnIUA_euqKFQ,42985
908
908
  cg/store/store.py,sha256=mz1TfKPlanH2uQyhZdwe_8VKg0IdFolmromKLu668IY,630
909
909
  cg/utils/__init__.py,sha256=gGjdV2l_hfWFCTybU6dwDk_FcItM88EIHNPaX6g1qUk,30
910
910
  cg/utils/calculations.py,sha256=zLVJO6nNw6n7AW7fHZI56UnQ23lqJrShB4Hh2ow6-TQ,349
@@ -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.11.7.dist-info/METADATA,sha256=1F26dofBkLzFhOusWh486onht6SkWNOI7BsUt4Vc5RY,4940
927
- cg-83.11.7.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
928
- cg-83.11.7.dist-info/entry_points.txt,sha256=q5f47YQQGltzK_xnIq1mDopRXXEItr85Xe1BCtG-Wts,39
929
- cg-83.11.7.dist-info/RECORD,,
926
+ cg-83.12.0.dist-info/METADATA,sha256=4Ls745EkqqjabAwLXfK_pmPH-N6SZfd8mYaTdGOxfy4,4940
927
+ cg-83.12.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
928
+ cg-83.12.0.dist-info/entry_points.txt,sha256=q5f47YQQGltzK_xnIq1mDopRXXEItr85Xe1BCtG-Wts,39
929
+ cg-83.12.0.dist-info/RECORD,,
File without changes