-
Notifications
You must be signed in to change notification settings - Fork 176
Add reading of CSV files from ModelicaTableAdditions to ModelicaStandardTables #3691
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
Conversation
fb6c967 to
dd505cb
Compare
|
I updated the binaries in my branch "update-binaries-add-csv". Use https://github.com/beutlich/ModelicaStandardLibrary/tree/update-binaries-add-csv if you want to test it. |
|
Could it be that you forgot to add some test models that are reading the CSV files that were added? |
Yes, I will add them, but wanted to gather some early feedback from library officers first. At least I it is covered by CI. |
|
Sorry, currently have no time to inspect this in detail and therefore removed me as Reviewers |
@dietmarw I've just added the test models to ModelicaTest. If you want to test with Dymola 2021x make sure to set |
dietmarw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved.
Note Advanced.PlaceDymolaSourceFirst = 2; was also necessary for Dymola 2020
HansOlsson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good.
I tried rebuilding binaries and running test-case and the result matched the csv-file.
* Accept CSV files with EOL=CRLF on Linux * Accept CSV files with trailing white-space
Taken from prototype implementation of ModelicaTableAdditions. Note, that no additional external 3-rd party dependencies are utilized. CSV tables with quoted values or line breaks are not supported.