Skip to content

Commit f2e3d37

Browse files
committed
Removed extraneous print statements
1 parent 5700c4a commit f2e3d37

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/nodemon/animated_structures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __is_fully_connected(self):
2525

2626
if len(self) > 0:
2727
nodes = sum([1 for node in self.breadth_first(self.matrix[0][0])]) - 1
28-
print(nodes, "vs", len(self))
28+
# print(nodes, "vs", len(self))
2929
connected = len(self) == nodes
3030

3131
return connected

src/nodemon/state_model.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def set_filename(self, filename):
8484
self.__filename = filename
8585

8686
def is_tree(self):
87-
print("Checking if tree...")
87+
# print("Checking if tree...")
8888
return self.__graph.is_tree()
8989

9090
def is_weighted(self):
@@ -115,11 +115,11 @@ def get_next_node_name(self):
115115

116116
def add_node(self, node_name):
117117
self.__graph.add_node(node_name)
118-
print(self.__graph.matrix)
118+
# print(self.__graph.matrix)
119119

120120
def delete_node(self, node_name):
121121
self.__graph.delete_node(node_name)
122-
print(self.__graph.matrix)
122+
# print(self.__graph.matrix)
123123

124124
def has_edge(self, from_node, to_node):
125125
return self.__graph.is_connected(from_node, to_node)
@@ -129,11 +129,11 @@ def add_edge(self, from_node, to_node, undirected=False, weight=1):
129129
self.__graph.add_edge(from_node, to_node, weight, undirected)
130130
else:
131131
self.__graph.add_edge(from_node, to_node, undirected)
132-
print(self.__graph.matrix)
132+
# print(self.__graph.matrix)
133133

134134
def delete_edge(self, node_from, node_to):
135135
self.__graph.delete_edge(node_from, node_to)
136-
print(self.__graph.matrix)
136+
# print(self.__graph.matrix)
137137

138138
def breadth_first(self, start_node, end_node=None):
139139
yield from self.__graph.breadth_first(start_node, end_node)

0 commit comments

Comments
 (0)