We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents afd70ff + 66c5fea commit 7ddf1d0Copy full SHA for 7ddf1d0
packages/core/typescript/itk-wasm/src/bindgen/python/wasi/wasi-function-module.js
@@ -180,7 +180,7 @@ from itkwasm import (
180
const interfaceType = interfaceJsonTypeToInterfaceType.get(parameter.type)
181
if (interfaceType.includes('File')) {
182
// for files
183
- args += ` input_file = str(PurePosixPath(${snakeCase(parameter.name)}))\n`
+ args += ` input_file = str(PurePosixPath(value))\n`
184
args += ` pipeline_inputs.append(PipelineInput(InterfaceTypes.${interfaceType}, ${interfaceType}(value)))\n`
185
args += ` args.append(input_file)\n`
186
} else if (interfaceType.includes('Stream')) {
0 commit comments