From dbb200ca8a5bc13356d1e68c9db9c7df93ffd63f Mon Sep 17 00:00:00 2001 From: WalshKieran Date: Fri, 31 May 2024 16:59:00 +1000 Subject: [PATCH] Dataset addition tweak --- frontend/src/lib/components/customview.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/customview.svelte b/frontend/src/lib/components/customview.svelte index 3138b40..5485752 100644 --- a/frontend/src/lib/components/customview.svelte +++ b/frontend/src/lib/components/customview.svelte @@ -116,7 +116,7 @@ const matrixName = 'Custom' const {order, sampleNames, expressionGetter, columnGetter} = $metadataProcessed.result const {index, zScores } = $metadataProcessed.result.$dataProcessed.result - return ({ + ret = ({ [name]: { name, index, @@ -130,6 +130,9 @@ }) } }); + console.log(`Adding custom dataset ${name}:`) + console.log(ret); + return ret }