From bd6f9493b72b2c42d243838f27a3053d0250717d Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 3 Jun 2016 20:30:41 -0700 Subject: [PATCH] Error in edge fixed and extra imports in graph views removed. --- autocnet/graph/edge.py | 2 +- autocnet/vis/graph_view.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/autocnet/graph/edge.py b/autocnet/graph/edge.py index 13cd0efc..7b741416 100644 --- a/autocnet/graph/edge.py +++ b/autocnet/graph/edge.py @@ -359,7 +359,7 @@ class Edge(dict, MutableMapping): raise AttributeError('This edge does not yet have any matches computed.') matches, mask = self._clean(clean_keys) - domain = self.source.handle.raster_size + domain = self.source.geodata.raster_size # Massage the dataframe into the correct structure coords = self.source.get_keypoint_coordinates() diff --git a/autocnet/vis/graph_view.py b/autocnet/vis/graph_view.py index a5bb4931..dfab120e 100644 --- a/autocnet/vis/graph_view.py +++ b/autocnet/vis/graph_view.py @@ -1,9 +1,6 @@ -import math import numpy as np import networkx as nx -from autocnet.examples import get_path -from autocnet.fileio.io_gdal import GeoDataset from matplotlib import pyplot as plt import matplotlib -- GitLab