diff options
| author | Munyoki Kilyungi | 2025-07-01 16:55:40 +0300 |
|---|---|---|
| committer | BonfaceKilz | 2025-07-07 07:58:31 +0300 |
| commit | 682c48cf914cf136fceac6826739541f26594685 (patch) | |
| tree | 88c77ac8dfa4daa047162b26c63418b746f616ad /gn3/db/sample_data.py | |
| parent | 926826b109f8b2143271eb44eb7e064e698bcc50 (diff) | |
| download | genenetwork3-682c48cf914cf136fceac6826739541f26594685.tar.gz | |
Fix mypy errors.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/db/sample_data.py')
| -rw-r--r-- | gn3/db/sample_data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/db/sample_data.py b/gn3/db/sample_data.py index 446d18d..4e01a3a 100644 --- a/gn3/db/sample_data.py +++ b/gn3/db/sample_data.py @@ -59,7 +59,7 @@ def __extract_actions( return result def get_mrna_sample_data( - conn: Any, probeset_id: int, dataset_name: str, probeset_name: str = None + conn: Any, probeset_id: int, dataset_name: str, probeset_name: str = None # type: ignore ) -> Dict: """Fetch a mRNA Assay (ProbeSet in the DB) trait's sample data and return it as a dict""" with conn.cursor() as cursor: @@ -130,7 +130,7 @@ WHERE ps.Id = %s AND psf.Name= %s""", (probeset_id, dataset_name)) return "\n".join(trait_csv) def get_pheno_sample_data( - conn: Any, trait_name: int, phenotype_id: int, group_id: int = None + conn: Any, trait_name: int, phenotype_id: int, group_id: int = None # type: ignore ) -> Dict: """Fetch a phenotype (Publish in the DB) trait's sample data and return it as a dict""" with conn.cursor() as cursor: |
