-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support "1-to-n" Commands #26
Comments
Nodes in this category take one input row and produce several output rows. |
This issue was moved to knime-ip/knip2#15 |
why did you move this to knip2? this issue is not image processing specific! |
@hornm @gab1one we need to think carefully how to represent
One obvious solution would be: We add a method, called Another solution would be that we offer a method called Any other ideas? |
We could create a |
however, |
Don't we have to wrap potential 1-to-N-commands with KNIME-specific commands anyway? If so, then we could do whatever we want and, e.g. providing kind of configure- and execute-methods. |
Yes, we have to wrap them in KNIME specific commands. But do we want to expose all those methods to the user then? What's the benefit of using KNIME SciJava Commands then over standard KNIME nodes if users have to understand and implement configure, execute etc ...? |
True. But we could provide an AbstractNodeCommand that heavily simplifies it (and is more familiar for future ImageJ2-developers) ... the direction of your 'easy-node' idea. |
Yep. But how would that be designed? I mean as soon as we require the user to implement What we already have is that we can go 1row-1-ImageJTable (which is backed by a KNIME table of course). Maybe thats the way to go?! However, there we would need a simple |
Got the problem, I think. So essentially we'll need to provide a KNIME-independent Table interface (e.g. that returns its spec as a List of classes and is itself an |
The https://github.com/imagej/imagej-common/blob/master/src/main/java/net/imagej/table/Table.java |
Understand. But isn't there the same problem with the ops-matching and Curtis has a solution for that? |
Yes, you are right. Maybe this will help us a lot! |
Commands in this category create several rows as output for a given input row.
The text was updated successfully, but these errors were encountered: