Skip to content

Commit

Permalink
Fixed issue with PCA not running
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-preble committed Feb 13, 2025
1 parent 9dfa122 commit 0b3dd70
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/source/legacy/solGS/pca.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ solGS.pca = {
} else {
pcaPopId = selectedId;
}

return pcaPopId;
},

Expand Down Expand Up @@ -911,13 +910,13 @@ jQuery(document).ready(function () {
if (runPcaBtnId.match(/run_pca/)) {

var pcaArgs;
if (document.URL.match(/pca\/analysis\//)) {
if (document.URL.match(/pca\/analysis/)) {
pcaArgs = solGS.pca.getSelectedPopPcaArgs(runPcaBtnId);
} else {
pcaArgs = solGS.pca.getPcaArgs();
}

pcaPopId = pcaArgs.pca_pop_id;

var canvas = solGS.pca.canvas;
var pcaMsgDiv = solGS.pca.pcaMsgDiv;
var pcaUrl = solGS.pca.generatePcaUrl(pcaPopId);
Expand Down

0 comments on commit 0b3dd70

Please sign in to comment.