AAVSO / VStar

VStar is a visualisation and analysis tool for variable star data brought to you by AAVSO
https://www.aavso.org/vstar
GNU Affero General Public License v3.0
10 stars 3 forks source link

VStar should quote the "comments" field while saving .csv data #311

Closed mpyat2 closed 1 year ago

mpyat2 commented 1 year ago

The "Comments" field may contain commas. Currently, VStar saves comma-separated (.csv) data without taking it into account. Try to load V405 Dra light curve (Johnson V filter, All times) and save observations into a .csv file. Opening the file via the default "Download or Simple" source gives no data (No observations found). This is because VStar gets confused with commas inside the "Comments" field. The solution is enclosing the "Comments" into double quotes (taking care of possible existing quotes inside the field!)

dbenn commented 1 year ago

Good pick-up. Surprised this has not been found before. Thanks Max.