Skip to content

Commit

Permalink
fix[visualize-tab]: fix single-point error message with algorithm det…
Browse files Browse the repository at this point in the history
…ails (#273)
  • Loading branch information
kartik-gupta-ij authored Jan 31, 2025
1 parent 355da1e commit 50a2761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/VisualizeChart/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ self.onmessage = function (e) {
if (points.length === 1) {
self.postMessage({
data: [],
error: 'cannot perform tsne on single point',
error: `cannot perform ${params.algorithm || 'TSNE'} on single point`,
});
return;
}
Expand Down

0 comments on commit 50a2761

Please sign in to comment.