Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieulemieux committed Aug 30, 2023
1 parent dcc89b2 commit 52195e8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions graphkb/genes.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def get_cancer_predisposition_info(conn: GraphKBConnection) -> Tuple[List[str],
infer_genes = set()
variants = {}

terms: dict = {term:lst for term, lst in RELEVANCE_BASE_TERMS}
terms: dict = {term: lst for term, lst in RELEVANCE_BASE_TERMS}
relevance_rids = list(get_terms_set(conn, terms.get("cancer predisposition", [])))

for record in conn.query(
Expand All @@ -242,10 +242,7 @@ def get_cancer_predisposition_info(conn: GraphKBConnection) -> Tuple[List[str],
},
},
{
"relevance": {
"target": "Vocabulary",
"filters": {"@rid": relevance_rids}
},
"relevance": {"target": "Vocabulary", "filters": {"@rid": relevance_rids}},
},
],
},
Expand Down

0 comments on commit 52195e8

Please sign in to comment.