aboutsummaryrefslogtreecommitdiff
path: root/src/conversion/czi/czi.ts
diff options
context:
space:
mode:
authorcjd242018-04-21 02:42:44 +0100
committercjd242018-04-21 02:42:44 +0100
commit4aeb0e10055f5ffdfd15fe3f6ac599f977d4f101 (patch)
tree8fe0a0cb2dc2fd9f449dc509013f2d5a5f0b6e74 /src/conversion/czi/czi.ts
parentSeems to have got the big boi CZI working again, added support for lecia files (diff)
downloadmedicine-4aeb0e10055f5ffdfd15fe3f6ac599f977d4f101.tar.gz
medicine-4aeb0e10055f5ffdfd15fe3f6ac599f977d4f101.zip

adding support for excel to csv stuff and fixed stage count of czi conversion

Diffstat (limited to 'src/conversion/czi/czi.ts')
-rw-r--r--src/conversion/czi/czi.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conversion/czi/czi.ts b/src/conversion/czi/czi.ts
index 1d157ff..1a92fa6 100644
--- a/src/conversion/czi/czi.ts
+++ b/src/conversion/czi/czi.ts
@@ -715,7 +715,7 @@ const buildCustomPyramids: () => Promise<void> = async(): Promise<void> => {
// Extract the base tiles and build up custom pyramid data
await extrapolateDimension(
Number.parseInt(cval.channel_id, 10),
- supportedViews.scalable_image.channels.length * Math.log2(maxZoom),
+ supportedViews.scalable_image.channels.length * Math.log2(maxZoom * 2),
maxZoom
).then((v: CZIHeightMap[]) => {
// On success, add the new heightmap to the final json data block