Skip to content

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

Open
@rheiland

Description

@rheiland

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions