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

cells ICs .csv files - line endings (CRLF vs LF) #272

Open
rheiland opened this issue Aug 14, 2024 · 0 comments
Open

cells ICs .csv files - line endings (CRLF vs LF) #272

rheiland opened this issue Aug 14, 2024 · 0 comments

Comments

@rheiland
Copy link
Collaborator

It seems as though lines in .csv files for cells ICs need to have LF endings if parsed on a Unix-based OS. If they have CRLF endings, confusing warnings are output. I've experienced this problem very rarely, but the most recent case caused me to rediscover it (and took a LONG time), so I'm creating this issue. If a .csv file has CRLF endings and we run on Mac or Linux, we will see something like this at runtime:

 not found!ll_Definition for Tcell
Warning! CSV file requests creating cell type Tcell
        at 21725 32717.5 0 but I don't recognize that type. Skipping cell!

It seems that creating a .csv with CRLF line endings on Windows and running the sim on Windows will work (no warnings). It's only when you try to use that same .csv file on Unix that we get warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant