Orange Forum • View topic - bug in orngIO

bug in orngIO

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

bug in orngIO

Postby vid p » Fri Feb 12, 2010 4:42

There is a small bug in the orngIO script: if an .arff file does not end with a newline, the loadARFF() function crashes because it cuts the last character in each line without checking if it really is a newline characters (line 35 in orngIO.py).

Postby Janez » Fri Feb 12, 2010 22:53

This was really stupid. As if Python strings didn't have the strip method. Thanks, Vid.


Return to Bugs



cron