From 783b644c7e8b4d894112dad4a9480657fcd17e65 Mon Sep 17 00:00:00 2001 From: Xenios Papademetris Date: Tue, 5 Mar 2024 12:49:53 -0500 Subject: [PATCH] new module --- biswebpython/modules/computeImageIndexMap.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/biswebpython/modules/computeImageIndexMap.py b/biswebpython/modules/computeImageIndexMap.py index 18e70e64..aa87b5f2 100644 --- a/biswebpython/modules/computeImageIndexMap.py +++ b/biswebpython/modules/computeImageIndexMap.py @@ -20,7 +20,7 @@ import biswebpython.core.bis_objects as bis_objects import numpy as np; -class computeImageIndexMAP(bis_basemodule.baseModule): +class computeImageIndexMap(bis_basemodule.baseModule): def __init__(self): super().__init__(); @@ -33,6 +33,7 @@ def createDescription(self): "description": "Given an objectmap compute the image index map (voxels > 0 indexed)", "author": "Xenios Papademetris and Xilin Shen", "version": "1.0", + "inputs" : [ { "type": "image", "name": "Objectmap Image", @@ -40,7 +41,7 @@ def createDescription(self): "varname": "input", "shortname" : "i", "required": True, - }, + } ], "outputs": bis_baseutils.getImageToImageOutputs('The indexmap image'), "params" : [