Skip to content

Commit

Permalink
bumping for release
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDietzMorris committed Dec 11, 2024
1 parent bf56b09 commit d3c4d95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="robokop-genetics",
version="0.6.0",
version="0.6.1",
author="Evan Morris",
author_email="[email protected]",
maintainer="Evan Morris",
Expand Down
11 changes: 0 additions & 11 deletions tests/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,6 @@ def test_service_results_cache(genetics_cache, genetics_services):
results = results_from_cache[2]
assert results is None

node_id_3 = 'CAID:CA6451230'
service_key = f'{MYVARIANT}_variant_to_gene'
myvariant_curie = "MYVARIANT_HG38:chr12:g.11091595T>C"
service_results = genetics_services.query_variant_to_gene(MYVARIANT, node_id_3, {node_id_3, myvariant_curie})
identifiers = [node.id for edge, node in service_results]
assert 'HGNC:18875' in identifiers
predicates = [edge.predicate_id for edge, node in service_results]
assert 'SNPEFF:missense_variant' in predicates
results_dict = {node_id_3: service_results}
genetics_cache.set_service_results(service_key, results_dict)

results_from_cache = genetics_cache.get_service_results(service_key, node_ids=[node_id_3])
results = results_from_cache[0]
identifiers = [node.id for edge, node in results]
Expand Down

0 comments on commit d3c4d95

Please sign in to comment.