-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
scijava/incubator
#95Description
Take this minimal example where we ask for information on the "math.subtract" op in Jython from the Fiji script editor:
# get op environoment
from org.scijava.ops.api import OpEnvironment
ops = OpEnvironment.getEnvironment()
print(ops.descriptions("math.subtract"))This produces the following output:
[math.subtract(
Inputs:
I1 input1
I2 input2
Containers (I/O):
O result
)
, math.sub(
Inputs:
java.lang.Number input1
java.lang.Number input2
Outputs:
java.lang.Double output1
)
Aliases: [math.subtract]
]What types are the input (I1 and I2) and output (O)? After talking to Gabe, I learned they are RealTypes. The output from ops.descriptions() does not indicate that these are RealTypes. How can we display the parameter types here?
Reactions are currently unavailable