Skip to content

Commit

Permalink
correct params for endpoints (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
moriondo2022 authored Nov 20, 2024
1 parent 826b67a commit 3db5215
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/PigeanTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import DataDownload from "@/components/DataDownload.vue";
import keyParams from "@/utils/keyParams";
import PigeanTable from "./PigeanTable.vue";
import ResearchPheWAS from "@/components/researchPortal/ResearchPheWAS.vue";
import { DEFAULT_SIGMA } from "@/utils/bioIndexUtils";
import uiUtils from "@/utils/uiUtils";
import alertUtils from "@/utils/alertUtils";
import plotUtils from "@/utils/plotUtils";
Expand Down Expand Up @@ -166,14 +167,14 @@ export default Vue.component("pigean-table", {
}
},
phewasKey(item) {
return `${item.phenotype},${this.genesetSize},${this.traitGroup},${item.factor}`;
return `${item.phenotype},${DEFAULT_SIGMA},${this.genesetSize},${item.factor}`;
},
subtableKey(item) {
if (this.config.queryParam === "cluster") {
return `${item.phenotype},${this.genesetSize},${this.traitGroup},${item.factor}`;
return `${item.phenotype},${DEFAULT_SIGMA},${this.genesetSize},${item.factor}`;
}
return `${item.phenotype},${item[this.config.queryParam]},${
this.genesetSize},${this.traitGroup}`;
DEFAULT_SIGMA},${this.genesetSize}`;
},
generateId(label) {
return label.replaceAll(",", "").replaceAll(" ", "_");
Expand Down

0 comments on commit 3db5215

Please sign in to comment.