Commit 6b843a43 authored by drevicko's avatar drevicko Committed by GitHub
Browse files

fixes typo in code

parent 65d6e475
......@@ -49,7 +49,7 @@ class CentroidConversion(EmotionConversionPlugin):
def _backwards_conversion(self, original):
"""Find the closest category"""
dimensions = set(k.keys() for i in centroids.values())
dimensions = set(c.keys() for c in centroids.values())
neutralPoint = self.get("origin", None)
neutralPoint = {k:neutralPoint[k] if k in neturalPoint else 0}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment