diff options
| author | cjd24 | 2018-04-25 06:41:56 +0100 |
|---|---|---|
| committer | cjd24 | 2018-04-25 06:41:56 +0100 |
| commit | f36deb0245881d8442c31e16572c67e58bb7c451 (patch) | |
| tree | 8e3cc52fe8b8a896be28ff1453ebe5dd82e39b24 /src/conversion/leica | |
| parent | Edit promise queue to return promises itself (diff) | |
| download | medicine-f36deb0245881d8442c31e16572c67e58bb7c451.tar.gz medicine-f36deb0245881d8442c31e16572c67e58bb7c451.zip | |
Fixing lots of CZI integration things, to prep for server deployment for JH demo
Diffstat (limited to 'src/conversion/leica')
| -rw-r--r-- | src/conversion/leica/scn.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conversion/leica/scn.ts b/src/conversion/leica/scn.ts index 5d75cb3..ce9d36c 100644 --- a/src/conversion/leica/scn.ts +++ b/src/conversion/leica/scn.ts @@ -68,6 +68,9 @@ const crunchLeica: () => Promise<string> = async (): Promise<string> => { metadata: {} }) } + if (!supportedViews.scalable_image) { + throw new Error("Not a scalable image"); + } supportedViews.scalable_image.channels = channels; } |
