Skip to content
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

CSV files with blank lines read incorrectly #308

Closed
ToddFincannonEI opened this issue Dec 16, 2022 · 0 comments · Fixed by #309 or #310
Closed

CSV files with blank lines read incorrectly #308

ToddFincannonEI opened this issue Dec 16, 2022 · 0 comments · Fixed by #309 or #310
Assignees
Labels

Comments

@ToddFincannonEI
Copy link
Collaborator

readCSV skips rows in CSV files that have all empty fields. Note that Excel writes such rows with comma delimiters but no data between delimiters, like this: ,,,. This throws off cell references in Vensim functions such as GET DIRECT CONSTANTS.

The attached model illustrates the problem.

csv-blank-line.zip

For this model, sde test prints:

_k time=0.00 vensim=3 sde=4 diff=33.333333%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant