knime-mpicbg / knime-scripting

knime-scripting includes scripting extensions for KNIME to integrate R, Matlab, Python and Groovy scripts. These extensions include a collection of nodes to develop and deploy templates in the respective languages.
https://github.com/knime-mpicbg/knime-scripting/wiki
Other
43 stars 25 forks source link

Python nodes should support boolean columns instead of error #88

Closed niederle closed 3 years ago

niederle commented 7 years ago

Python nodes fails with boolean column.

ERROR Python Snippet 0:4 Traceback (most recent call last): ERROR Python Snippet 0:4 File "/var/folders/b0/xdzvxf197ls___gmw4_y23r80000gp/T/analyze2405336816477365671.py", line 279, in <module> ERROR Python Snippet 0:4 kIn = read_csv(r"/var/folders/b0/xdzvxf197ls___gmw4_y23r80000gp/T/knime2python6660458540906801999.csv", True) ERROR Python Snippet 0:4 File "/var/folders/b0/xdzvxf197ls___gmw4_y23r80000gp/T/analyze2405336816477365671.py", line 193, in read_csv ERROR Python Snippet 0:4 types = get_column_types(csv_filename) ERROR Python Snippet 0:4 File "/var/folders/b0/xdzvxf197ls___gmw4_y23r80000gp/T/analyze2405336816477365671.py", line 113, in get_column_types ERROR Python Snippet 0:4 itemType = row[index] ERROR Python Snippet 0:4 IndexError: list index out of range ERROR Python Snippet 0:4 Execute failed: No python output table found, check script output