wire e2e gene set loading prototype

This commit is contained in:
bkmartinjr
2021-01-21 15:01:10 -08:00
parent 7f1bb3e21e
commit 0001928317
11 changed files with 279 additions and 3280 deletions
+11
View File
@@ -52,6 +52,16 @@ async function userInfoFetch(dispatch) {
});
}
async function genesetsFetch(dispatch) {
return fetchJson("genesets").then((response) => {
const genesets = response?.genesets ?? {};
dispatch({
type: "geneset: initial load",
init: genesets,
});
})
}
function prefetchEmbeddings(annoMatrix) {
/*
prefetch requests for all embeddings
@@ -74,6 +84,7 @@ const doInitialDataLoad = () =>
schemaFetch(dispatch),
userColorsFetchAndLoad(dispatch),
userInfoFetch(dispatch),
genesetsFetch(dispatch),
]);
const baseDataUrl = `${globals.API.prefix}${globals.API.version}`;
File diff suppressed because it is too large Load Diff