small pep8/syntax fixes

This commit is contained in:
Andy Eschbacher 2018-02-27 16:12:20 -05:00
parent dcab63f3b3
commit dd32d45422

View File

@ -16,6 +16,8 @@ import crankshaft.pysal_utils as pu
class Moran(object): class Moran(object):
"""Class for calculation of Moran's I statistics (global, local, and local
rate"""
def __init__(self, data_provider=None): def __init__(self, data_provider=None):
if data_provider is None: if data_provider is None:
self.data_provider = AnalysisDataProvider() self.data_provider = AnalysisDataProvider()
@ -199,7 +201,6 @@ def map_quads(coord):
return 'LL' return 'LL'
elif coord == 4: elif coord == 4:
return 'HL' return 'HL'
else:
return None return None