humanitiesplusdesign / palladio

An application that brings humanities research methods to data visualization.
BSD 3-Clause "New" or "Revised" License
170 stars 31 forks source link

Unable to cope with leading/trailing spaces, poor error reporting #188

Open ijohnson222 opened 5 years ago

ijohnson222 commented 5 years ago

Ship,Departure port,Coordinates "Abeona", "Tampico", "-97.861099,22.2331041" "Adelaida", "Havana", "-82.3665956,23.1135925"

says there is a problem with line 2. It does not tell you what the problem is. It turns out it is the spaces after the commas. This is not obvious, nor should an import format be sensitive to extra spaces (in my book leading and trailing spaces are NEVER significant in data and should always be trimmed).

esjewett commented 5 years ago

@ijohnson222 Absolutely right. The usual workflow has been uploading or copy/pasting CSV files, so this hasn't popped up. It's a bug, certainly.