SiLeBAT / BfROpenLab

BfR KNIME extensions (FoodChain-Lab, KNIME Nodes for GIS and Graph Visualization, KNIME Nodes for Nonlinear Regression, BfR Network Mining Extensions, PMM-Lab Lite)
http://silebat.github.io/BfROpenLab/
GNU General Public License v3.0
7 stars 8 forks source link

IDs should be Integers #84

Closed draaw closed 10 years ago

draaw commented 10 years ago

Would enable correct sorting. Please recheck if this is possible.

thoens commented 10 years ago

All View nodes are designed to allow any String as ID and Metanodes have String IDs (e.g. "Poland", ... when collapsing by country). Changing it to Integer would create many problems.

Instead I updated the Dialogs in all Views, the ID strings are now sorted as if they were Integers. Does that solve the issue?

draaw commented 10 years ago

Is it possible to sort the data tables at the outports of the Knime nodes by Integer although they are String? It is a minor issue, but it is disturbing; you may close it if there is no solution. But: when I want to collapse by property and choose a property that is an Integer, e.g. ClusterID the filter-dialog also sorts the values as if they are Strings. That should be solved.

thoens commented 10 years ago

You could convert the String IDs to Integer and then do the sorting. The sorting in the Filter Dialog should now work correctly.

A way to solve all the sorting issues would be to fill the IDs with zeros: "0001" instead of "1"

thoens commented 10 years ago

Nothing else can be done