diff --git a/plugins/bioengine-test-run.imjoy.html b/plugins/bioengine-test-run.imjoy.html
index bdb396ea..ba62f3e9 100644
--- a/plugins/bioengine-test-run.imjoy.html
+++ b/plugins/bioengine-test-run.imjoy.html
@@ -257,6 +257,10 @@
const sampleInput = rdf.sample_inputs[0]
this.set_default_url(sampleInput)
}
+ else{
+ const testInputs = rdf.test_inputs[0]
+ this.set_default_url(testInputs)
+ }
this.setInfoPanel("")
this.setWaiting(false)
this.setButtonsDisabled(false)
@@ -553,6 +557,9 @@
_file.name = file_name
if file_name.endswith(".tif") or file_name.endswith(".tiff"):
image = imageio.volread(_file)
+ if file_name.endswith(".npy"):
+ image = np.load(_file)
+ image = image.squeeze()
else:
image = imageio.imread(_file)
await api.log(
diff --git a/precache-manifest.dc2914a082d28214af3663ee886afd9f.js b/precache-manifest.9be60ea1ab9801abe9c32551c257f282.js
similarity index 99%
rename from precache-manifest.dc2914a082d28214af3663ee886afd9f.js
rename to precache-manifest.9be60ea1ab9801abe9c32551c257f282.js
index 0d69f088..8b2d4ff9 100644
--- a/precache-manifest.dc2914a082d28214af3663ee886afd9f.js
+++ b/precache-manifest.9be60ea1ab9801abe9c32551c257f282.js
@@ -56,7 +56,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/manifest.json"
},
{
- "revision": "541ae2cd42fccd0c9b732e791c000843",
+ "revision": "36ed2648c883c1e98551c9f408d09447",
"url": "/plugins/bioengine-test-run.imjoy.html"
},
{
diff --git a/service-worker.js b/service-worker.js
index e8f9e365..27cdfc8d 100644
--- a/service-worker.js
+++ b/service-worker.js
@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
- "/precache-manifest.dc2914a082d28214af3663ee886afd9f.js"
+ "/precache-manifest.9be60ea1ab9801abe9c32551c257f282.js"
);
workbox.core.setCacheNameDetails({prefix: "bioimage"});