diff --git a/src/py/crankshaft/crankshaft/clustering/moran.py b/src/py/crankshaft/crankshaft/clustering/moran.py index 08fe127..4bced89 100644 --- a/src/py/crankshaft/crankshaft/clustering/moran.py +++ b/src/py/crankshaft/crankshaft/clustering/moran.py @@ -67,7 +67,7 @@ def moran_local(subquery, attr, # resulting in a collection of not as near neighbors qvals = OrderedDict([("id_col", id_col), - ("attr1", attr_name), + ("attr1", attr), ("geom_col", geom_col), ("subquery", subquery), ("num_ngbrs", num_ngbrs)])