CountESS-Project / CountESS

CountESS
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Multiple Inputs & Outputs #30

Open nickzoic opened 8 months ago

nickzoic commented 8 months ago

We've kind of gotten away with having a single input queue and output queue for each node. However, this has led to some weird behavioural differences:

Also, a lot of "filter" operations, eg: selecting records matching a pattern, could use a second output for "failures". Effectively an "else" output. Sure you can add another complementary filter node but there's always the risk that you'll miss something. Plus there's no output from writers. So maybe it'd make sense for nodes to have 0, 1 or 2 output "ports" and have this visible in the UI.

nickzoic commented 7 months ago

plugins get num_inputs and num_outputs properties in 935058452d2169f44e5650c89cee5806f86b0799 and the GUI now prevents adding links where these are 0 but actually supporting multiple ports is a bigger piece of work ...

nickzoic commented 1 month ago

Note that the new(ish) Filter plugin is a step in this direction: currently the "outputs" option allows setting a column to a value, but it could also allow selection of between multiple output "ports".