cg 83.11.7__py3-none-any.whl → 83.11.8__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.11.8"
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 = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cg
3
- Version: 83.11.7
3
+ Version: 83.11.8
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=yzOx_FVs-IfMsX26cR34Qgw4w04sas1xLr5va0KTq6A,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
@@ -468,7 +468,7 @@ cg/resources/taxprofiler_bundle_filenames.yaml,sha256=AULMEAYkMzADYUtVtuSmBj7UaA
468
468
  cg/resources/tomte_bundle_filenames.yaml,sha256=lFxk9GssmCyKBUn5lbRBtBS9FS9cABaoVzb-e2zrJac,4144
469
469
  cg/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
470
470
  cg/server/admin.py,sha256=JUZvNdTwjfNoZbSo_tZNS-ZMAeRKheAW9nfAcrrkw6w,29522
471
- cg/server/app.py,sha256=wb1nsK4LNcFYG0bp_JXpghX3Q0-bRx687Y1S1hVBRU0,7072
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
@@ -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.11.8.dist-info/METADATA,sha256=dBSQBPXkY0eaxX1PQg1ID9cInmbaGBZ71T8Khitq9yU,4940
927
+ cg-83.11.8.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
928
+ cg-83.11.8.dist-info/entry_points.txt,sha256=q5f47YQQGltzK_xnIq1mDopRXXEItr85Xe1BCtG-Wts,39
929
+ cg-83.11.8.dist-info/RECORD,,
File without changes