diff --git a/web/src/routes/+page.svelte b/web/src/routes/+page.svelte index 487c7154..82efc551 100644 --- a/web/src/routes/+page.svelte +++ b/web/src/routes/+page.svelte @@ -125,10 +125,14 @@ processingSmithereens = false; }) // Reactively compute if Smithereens is ready - $: SmithereensReady = !loadingSmithereens && !processingSmithereens && smithereensWorker.fragmentsLibrary !== undefined && smithereensWorker.muropeptidesLibrary !== undefined; + $: console.log(`[+page.svelte] loadingSmithereens : ${loadingSmithereens}`) + $: console.log(`[+page.svelte] processingSmithereens : ${processingSmithereens}`) + // How to see the indexes and more importantly the values that is selected by the user as this determines what file + // is loaded. + // $: console.log(`[+page.svelte] smithereensWorker.fragmentsLibraryIndex : ${smithereensWorker.fragmentsLibraryIndex}`) + // $: console.log(`[+page.svelte] smithereensWorker.muropeptidesLibraryIndex : ${smithereensWorker.muropeptidesLibraryIndex}`) + $: SmithereensReady = !loadingSmithereens && !processingSmithereens && smithereensWorker.fragmentsLibraryIndex !== undefined && smithereensWorker.muropeptidesLibraryIndex !== undefined; $: console.log(`[+page.svelte] SmithereensReady : ${SmithereensReady}`); - // $: console.log(`smithereensWorker.fragmentsLibraryIndex : ${smithereensWorker.fragmentsLibraryIndex}`); - // $: console.log(`smithereensWorker.muropeptidesLibraryIndex : ${smithereensWorker.muropeptidesLibrary}`); // Send data to Smithereens for processing function runSmithereensAnalysis() {