We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a56812a commit b739b06Copy full SHA for b739b06
1 file changed
RubyScript/rb/knime.rb
@@ -121,10 +121,10 @@ def [](idx)
121
end
122
123
def snippet_runner
124
- count, step = $inData0.length, 0x2FF
+ count, step = $in_data_0.length, 0x2FF
125
coef = step / count.to_f
126
- $inData0.each_with_index do |row, i|
127
- $outContainer0 << (yield row)
+ $in_data_0.each_with_index do |row, i|
+ $out_data_0 << (yield row)
128
setProgress "#{i * coef}%" if (i & step) == 0
129
130
0 commit comments