From 7b2d342586c09d773a470f68fdee766a12119bd9 Mon Sep 17 00:00:00 2001 From: Evan Morris Date: Tue, 19 Dec 2023 14:57:37 -0500 Subject: [PATCH] removing some leftover unnecessary print statements --- reasoner_transpiler/matching.py | 1 - tests/test_qualifier_constraints.py | 4 ++-- tests/test_subclass.py | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/reasoner_transpiler/matching.py b/reasoner_transpiler/matching.py index 3d4db26..1239f30 100644 --- a/reasoner_transpiler/matching.py +++ b/reasoner_transpiler/matching.py @@ -213,7 +213,6 @@ def __init__( # this should be fixed in future versions, we could remove it, but it's safer to leave predicates = [] for predicate in self.predicates: - print(bmt.get_descendants(space_case(predicate[8:]))) for predicate_descendant in bmt.get_descendants(space_case(predicate[8:])): element = bmt.get_element(predicate_descendant) if element and (element.annotations.get('canonical_predicate', False) or diff --git a/tests/test_qualifier_constraints.py b/tests/test_qualifier_constraints.py index 3f12d6e..7b0cd69 100644 --- a/tests/test_qualifier_constraints.py +++ b/tests/test_qualifier_constraints.py @@ -176,6 +176,6 @@ def test_empty_qualifier_set(): }, } query = get_query(qgraph) - print(query) - #for record in output: + # print(query) + # for record in output: # assert len(record["results"]) == 0 diff --git a/tests/test_subclass.py b/tests/test_subclass.py index 4ac6f24..830d24b 100644 --- a/tests/test_subclass.py +++ b/tests/test_subclass.py @@ -129,7 +129,6 @@ def test_same_pinned_subclass(database): } query = get_query(qgraph) output = list(database.run(query))[0] - print(output['results']) assert len(output['results']) == 4