-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pref_csv_separator is ignored with save statement for csv files #3817
Comments
I have to say that there is no such thing as "saving a list inside a list" in the CSV format, at least no shared protocol and format to do so (contrary to other formats like JSON, which are based on nested data structures). This means (1) what you obtain is not a bug, just the normal result of saving a list inside a list; (2) you have to come up with your own way of encoding/decoding this list so that you can read it again. If the list is of fixed length, it is super easy, otherwise it might be a bit more complex (but not more complicated than what you would have to do in other languages). |
Yes the resulting file is not bugged, it's just very inconvenient and there's no way to produce a different csv with the current |
I tried a workaround suggested by @AlexisDrogoul and found out that the csv_parameter in gama preferences is ignored:
The generated file still uses |
please check I didn't break something
Fixed with commit bfa98eb0a0a10c599d76ed8724f9e99cf6dda7b4 |
Describe the bug
List is not saved correctly in the CSV file, with each element written to a separate cell instead of all elements in one cell.
To Reproduce
GAMA model
The text was updated successfully, but these errors were encountered: