knime-ip / knip-scijava

KNIP - SciJava Commands Plugin
2 stars 3 forks source link

Allow specification of (multiple-) PortObjects #38

Closed dietzc closed 8 years ago

dietzc commented 8 years ago

currently, most of the auto-generated nodes implicitly work on tables. However, in the future we also want to support nodes which have an input parameter which is a PortObject.

Example include:

// first inport
@Parameter
private BufferedDataTable table;

// optional second inport
@Parameter (required=false)
private BufferedDataTable table2;

@Parameter
private WekaClassifier classifier;

@Parameter(type = ItemIO.OUTPUT)
private BufferedDataTable table;

this would give us tons of flexibility. For scripting in particular we would only support BufferedDataTables of course.

dietzc commented 8 years ago

this is currently not possible and will not be possible in the near future.