in ()
16 if not knn_map[i]: continue
17 bns, sims = zip(*knn_map[i])
---> 18 knn_vals = [fig_to_meta[j] for j in bns]
19 for jdx, j in enumerate(knn_vals):
20 j['similarity'] = sims[jdx]
in (.0)
16 if not knn_map[i]: continue
17 bns, sims = zip(*knn_map[i])
---> 18 knn_vals = [fig_to_meta[j] for j in bns]
19 for jdx, j in enumerate(knn_vals):
20 j['similarity'] = sims[jdx]
KeyError: 1230
KeyError Traceback (most recent call last)