Skip to content

Commit 910e1f7

Browse files
author
Stefano Malagò
committed
Fixed index for clustering view
1 parent c57bdb0 commit 910e1f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tagging-service/flaskr/handlers/dataset_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def thread_func(_dataset_id, _question_id, _answers):
4949
save_cluster(dataset_id=_dataset_id,
5050
question_id=_question_id,
5151
user_id='',
52-
cluster=[{'answers': c, 'name': f'Cluster {i}'} for i, c in enumerate(cls)]) # convert format
52+
cluster=[{'answers': c, 'name': f'Cluster {i + 1}'} for i, c in enumerate(cls)]) # convert format
5353
logger.debug('done ' + _question_id)
5454

5555
threads = []

0 commit comments

Comments
 (0)