Skip to content

Commit

Permalink
Merge pull request #121 from thewtex/wasm-4d
Browse files Browse the repository at this point in the history
wasm 4d
  • Loading branch information
thewtex authored Apr 17, 2024
2 parents d4df8ff + bb38356 commit 25ad01c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 34 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"devDependencies": {
"@itk-wasm/dam": "^1.1.0",
"@thewtex/setup-micromamba": "^1.9.7",
"itk-wasm": "^1.0.0-b.166"
"itk-wasm": "^1.0.0-b.173"
}
}
38 changes: 9 additions & 29 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wasm/morphological-contour-interpolation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,5 @@ main( int argc, char* argv[] )
{
itk::wasm::Pipeline pipeline( "morphological-contour-interpolation", "Interpolates contours between slices.", argc, argv );

return itk::wasm::SupportInputImageTypes< PipelineFunctor, uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t, uint64_t, int64_t >::Dimensions< 3U >( "input-image", pipeline );
return itk::wasm::SupportInputImageTypes< PipelineFunctor, uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t, uint64_t, int64_t >::Dimensions< 3U, 4U >( "input-image", pipeline );
}
7 changes: 4 additions & 3 deletions wasm/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itk-wasm/morphological-contour-interpolation",
"version": "1.0.1",
"version": "1.1.0",
"packageManager": "[email protected]",
"description": "N-D morphology-based approach for interslice interpolation of anatomical slices from volumetric images.",
"type": "module",
Expand All @@ -20,7 +20,8 @@
"build": "pnpm build:tsc && pnpm build:browser:workerEmbedded && pnpm build:browser:workerEmbeddedMin && pnpm build:demo",
"build:browser:workerEmbedded": "esbuild --loader:.worker.js=dataurl --bundle --format=esm --outfile=./dist/bundle/index-worker-embedded.js ./src/index-worker-embedded.ts",
"build:browser:workerEmbeddedMin": "esbuild --minify --loader:.worker.js=dataurl --bundle --format=esm --outfile=./dist/bundle/index-worker-embedded.min.js ./src/index-worker-embedded.min.ts",
"build:tsc": "tsc --pretty",
"build:tsc": "pnpm build:version && tsc --pretty",
"build:version": "node -p \"'const version = ' + JSON.stringify(require('./package.json').version) + '\\nexport default version\\n'\" > src/version.ts",
"copyShoelaceAssets": "shx mkdir -p test/browser/demo-app/public && shx cp -r node_modules/@shoelace-style/shoelace/dist/assets test/browser/demo-app/public/",
"build:demo": "pnpm copyShoelaceAssets && vite build"
},
Expand All @@ -33,7 +34,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"itk-wasm": "1.0.0-b.165"
"itk-wasm": "1.0.0-b.173"
},
"devDependencies": {
"@itk-wasm/image-io": "^1.1.0",
Expand Down

0 comments on commit 25ad01c

Please sign in to comment.