Skip to content

Mol name read from molData file ends in \n #204

@allegroLeiden

Description

@allegroLeiden

The fix is easy: after line 80 of molinit.c, insert a line like

md[i].molName[strcspn(md[i].molName, "\r\n")] = 0;

It only causes an error if par->gridOutFiles[3] is set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions