We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4833129 commit 6554da0Copy full SHA for 6554da0
src/views/PIGEAN/Gene/store.js
@@ -93,8 +93,9 @@ export default new Vuex.Store({
93
} else {
94
// If ALL is selected, query all trait groups and get top results across all
95
let traitsData = [];
96
- for (let i = 0; i < bioIndexUtils.TRAIT_GROUPS.length; i++){
97
- let group = bioIndexUtils.TRAIT_GROUPS[i];
+ let traits = Object.keys(bioIndexUtils.TRAIT_GROUPS);
+ for (let i = 0; i < traits.length; i++){
98
+ let group = traits[i];
99
let traitQuery = `${group},${context.state.geneName},${
100
bioIndexUtils.DEFAULT_SIGMA},${context.state.genesetSize}`;
101
let groupData = await bioIndexUtils.query("pigean-gene", traitQuery);
0 commit comments