Commit 60a602d5 authored by jlaura's avatar jlaura
Browse files

Merge pull request #65 from acpaquette/pep8

Pep8 example for --aggressive --ignore E501(line length)
parents f6b6b0c0 f6b5e2f2
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
import math
import warnings
from collections import MutableMapping

@@ -121,7 +120,6 @@ class Edge(dict, MutableMapping):
            else:
                mask = pd.Series(True, self.matches.index)


            self.distance_ratio = od.DistanceRatio(self.matches)
            self.distance_ratio.compute(mask=mask, **kwargs)

@@ -260,7 +258,7 @@ class Edge(dict, MutableMapping):
        """
        matches = self.matches
        for column, default in {'x_offset': 0, 'y_offset': 0, 'correlation': 0, 'reference': -1}.items():
            if not column in self.matches.columns:
            if column not in self.matches.columns:
                self.matches[column] = default

        # Build up a composite mask from all of the user specified masks