From d3c4d95db3839da410d7657b43945abf4b3087da Mon Sep 17 00:00:00 2001 From: Evan Morris Date: Wed, 11 Dec 2024 18:38:08 -0500 Subject: [PATCH] bumping for release --- setup.py | 2 +- tests/test_cache.py | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/setup.py b/setup.py index 089c1ad..bd3c502 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="robokop-genetics", - version="0.6.0", + version="0.6.1", author="Evan Morris", author_email="evandietzmorris@gmail.com", maintainer="Evan Morris", diff --git a/tests/test_cache.py b/tests/test_cache.py index 7ca78ba..e08d87c 100644 --- a/tests/test_cache.py +++ b/tests/test_cache.py @@ -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]