File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ def get_pharmacogenomic_info(
370370
371371
372372def get_gene_linked_pharmacogenomic_info (
373- conn : GraphKBConnection , source : str
373+ conn : GraphKBConnection , source : str = PREFERRED_GENE_SOURCE_NAME
374374) -> Tuple [List [str ], Dict [str , Tuple [str , List [str ]]]]:
375375 """
376376 Return two lists from GraphKB, one of pharmacogenomic genes and one of associated variants.
Original file line number Diff line number Diff line change 1818 get_pharmacogenomic_info ,
1919 get_preferred_gene_name ,
2020 get_therapeutic_associated_genes ,
21- PREFERRED_GENE_SOURCE_NAME ,
2221)
2322from pori_python .graphkb .util import get_rid
2423
@@ -172,7 +171,7 @@ def test_get_pharmacogenomic_info(conn):
172171 EXCLUDE_BCGSC_TESTS , reason = "excluding BCGSC-specific tests (requires CGL loader))"
173172)
174173def test_get_gene_linked_pharmacogenomic_info (conn ):
175- genes , matches = get_gene_linked_pharmacogenomic_info (conn , PREFERRED_GENE_SOURCE_NAME )
174+ genes , matches = get_gene_linked_pharmacogenomic_info (conn )
176175 for gene in PHARMACOGENOMIC_INITIAL_GENES :
177176 assert gene in genes , f"{ gene } not found in get_pharmacogenomic_info"
178177 for rid , variant_info in matches .items ():
You can’t perform that action at this time.
0 commit comments