From cf39e6d67749a1d88447a2fbbb94ff42679c9fa4 Mon Sep 17 00:00:00 2001 From: Robert Aboukhalil Date: Wed, 25 Aug 2021 15:50:40 -0700 Subject: [PATCH] Small fix --- src/worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker.js b/src/worker.js index 422594c..9370cbc 100644 --- a/src/worker.js +++ b/src/worker.js @@ -43,7 +43,7 @@ const aioli = { // --------------------------------------------------------------------- // Initialize WebAssembly modules (downloads .wasm/.js/.json in parallel) - await Promise.all(aioli.tools.map(this._setup)); + await Promise.all(aioli.tools.map(tool => this._setup(tool))); // Some tools have preloaded files mounted to their filesystems to hold sample data (e.g. /samtools/examples/). // By default, those are only accessible from the filesystem of the respective tool. Here, we want to allow