UCL-ShippingGroup / pyrate

Python AIS Tools Environment
MIT License
25 stars 10 forks source link

Function readcsv in aisparser.py omits final column #38

Closed willu47 closed 8 years ago

willu47 commented 8 years ago

Line 452 cols = fp.readline().split(',') doesn't account for newline characters such as \n in csv files. This means the final column of the csv file is omitted and isn't picked up in the compilation of indices.