From 7e2ebb4a2c845e6d61d0f9bc1c599391659535b6 Mon Sep 17 00:00:00 2001 From: Huy Pham <42948410+hpham@users.noreply.github.com> Date: Thu, 5 Dec 2019 13:43:12 -0800 Subject: [PATCH] delete some extra print statement --- coretk/coretk/coreclient.py | 3 --- coretk/coretk/graph/shape.py | 2 -- 2 files changed, 5 deletions(-) diff --git a/coretk/coretk/coreclient.py b/coretk/coretk/coreclient.py index 7a760c1f..05a36c82 100644 --- a/coretk/coretk/coreclient.py +++ b/coretk/coretk/coreclient.py @@ -309,7 +309,6 @@ class CoreClient: for key, annotation_config in config.items(): if "annotation" in key: annotation_config = json.loads(annotation_config) - print(annotation_config) config_type = annotation_config["type"] if config_type in ["rectangle", "oval"]: coords = tuple(annotation_config["iconcoords"]) @@ -508,7 +507,6 @@ class CoreClient: """ node_protos = [x.core_node for x in self.canvas_nodes.values()] link_protos = list(self.links.values()) - print(node_protos) if self.get_session_state() != core_pb2.SessionState.DEFINITION: self.client.set_session_state( self.session_id, core_pb2.SessionState.DEFINITION @@ -535,7 +533,6 @@ class CoreClient: self.created_links.add( tuple([link_proto.node_one_id, link_proto.node_two_id]) ) - print(self.app.core.client.get_session(self.app.core.session_id)) def close(self): """ diff --git a/coretk/coretk/graph/shape.py b/coretk/coretk/graph/shape.py index dd83ee3e..91020ecb 100644 --- a/coretk/coretk/graph/shape.py +++ b/coretk/coretk/graph/shape.py @@ -106,8 +106,6 @@ class Shape: ) _x = (x0 + x1) / 2 _y = y0 + 1.5 * data.font_size - print("create text with text: ", data.text) - print(data.text_color) self.text_id = self.canvas.create_text( _x, _y, tags="shapetext", text=data.text, fill=data.text_color )