From bf89726c496256c9749b213222ef2357c338d604 Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Mon, 16 Jun 2014 23:50:26 +0530 Subject: [PATCH] removed comments --- skimage/graph/graph_cut.py | 1 - skimage/graph/rag.py | 1 - 2 files changed, 2 deletions(-) diff --git a/skimage/graph/graph_cut.py b/skimage/graph/graph_cut.py index d6e1d013..0e7ea25c 100644 --- a/skimage/graph/graph_cut.py +++ b/skimage/graph/graph_cut.py @@ -40,7 +40,6 @@ def threshold_cut(label, rag, thresh): out = np.copy(label) for i, nodes in enumerate(comps): - for node in nodes: for l in rag.node[node]['labels']: out[label == l] = i diff --git a/skimage/graph/rag.py b/skimage/graph/rag.py index af24af18..d4ad6628 100644 --- a/skimage/graph/rag.py +++ b/skimage/graph/rag.py @@ -32,7 +32,6 @@ class RAG(nx.Graph): if not self.has_edge(i, j): raise ValueError('Cant merge non adjacent nodes') - # print "before ",self.order() for x in self.neighbors(i): if x == j: continue