Skip to content

Commit

Permalink
last commit i swear
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs committed Sep 11, 2024
1 parent 2f0c6da commit b2df9de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions www/js/sc_workbench.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ const datasetTree = new DatasetTree({
logErrorInConsole(error);
}

document.querySelector(UI.primaryInitialInfoSection).classList.remove("is-hidden");
document.querySelector(UI.primaryInitialPlotContainer).classList.remove("is-hidden");
document.querySelector(UI.primaryInitialLoadingPlotElt).classList.remove("is-hidden");
try {
await getDatasetInfo(datasetId);
await currentAnalysis.loadPreliminaryFigures(); // depends on dataset.id from getDatasetInfo
Expand All @@ -101,7 +101,7 @@ const datasetTree = new DatasetTree({
document.querySelector(UI.analysisSelect).disabled = true;
// pass
} finally {
document.querySelector(UI.primaryInitialPlotContainer).classList.add("is-hidden");
document.querySelector(UI.primaryInitialLoadingPlotElt).classList.add("is-hidden");
}

})
Expand Down Expand Up @@ -181,6 +181,7 @@ const getDatasetInfo = async (datasetId) => {

currentAnalysis.dataset = ds;

document.querySelector(UI.primaryInitialInfoSection).classList.remove("is-hidden");
document.querySelector(UI.primaryFilterSection).classList.remove("is-hidden");
document.querySelector(UI.selectedDatasetShapeInitialElt).textContent = currentAnalysis.dataset.shape();

Expand Down

0 comments on commit b2df9de

Please sign in to comment.