From 4bb4076959b0c6e9f6986dbc7ef4381eb7bc21de Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Fri, 15 Aug 2014 14:15:02 +0530 Subject: [PATCH] fixed imports --- skimage/graph/__init__.py | 2 -- skimage/graph/rag.py | 1 - 2 files changed, 3 deletions(-) diff --git a/skimage/graph/__init__.py b/skimage/graph/__init__.py index 29bcb031..6da4fcc8 100644 --- a/skimage/graph/__init__.py +++ b/skimage/graph/__init__.py @@ -1,9 +1,7 @@ from .spath import shortest_path from .mcp import MCP, MCP_Geometric, MCP_Connect, MCP_Flexible, route_through_array -from .rag import rag_mean_color, RAG from .graph_cut import cut_threshold, cut_normalized from .rag import rag_mean_color, RAG, draw_rag -from .graph_cut import cut_threshold ncut = cut_normalized diff --git a/skimage/graph/rag.py b/skimage/graph/rag.py index e1ab79ca..74e4ab07 100644 --- a/skimage/graph/rag.py +++ b/skimage/graph/rag.py @@ -22,7 +22,6 @@ except ImportError: pass - def min_weight(graph, src, dst, n): """Callback to handle merging nodes by choosing minimum weight.