small pep8/syntax fixes
This commit is contained in:
parent
dcab63f3b3
commit
dd32d45422
@ -16,6 +16,8 @@ import crankshaft.pysal_utils as pu
|
||||
|
||||
|
||||
class Moran(object):
|
||||
"""Class for calculation of Moran's I statistics (global, local, and local
|
||||
rate"""
|
||||
def __init__(self, data_provider=None):
|
||||
if data_provider is None:
|
||||
self.data_provider = AnalysisDataProvider()
|
||||
@ -199,8 +201,7 @@ def map_quads(coord):
|
||||
return 'LL'
|
||||
elif coord == 4:
|
||||
return 'HL'
|
||||
else:
|
||||
return None
|
||||
return None
|
||||
|
||||
|
||||
def quad_position(quads):
|
||||
|
Loading…
Reference in New Issue
Block a user