knime-ip / knip

KNIME Image Processing Extension
https://www.knime.com/community/image-processing
49 stars 11 forks source link

Progress indicator improvement #476

Open imagejan opened 7 years ago

imagejan commented 7 years ago

There is a misconception with the progress indicators in (probably) all KNIP nodes: e.g. when you have 5 images that each take a while to process, the percentage indicator shows the following stages:

I would expect the following states instead (and this is how the core KNIME nodes do work in my experience):

The issue is that setProgress is called in most places after processing the current row, but before increasing the row counter variable.

See: https://github.com/knime-ip/knip/search?utf8=%E2%9C%93&q=setProgress&type=