Hi,
I had some issues with the EOL character in the "fdmfile.txt" and the input file when running pyFDMNES on a Windows machine. It seems that only a \n instead of a \n\r is written as an EOL which prevents FDMNES from running on Windows.
Following the suggestion from here:
https://stackoverflow.com/questions/38074811/what-is-os-linesep-for
I changed open(path, "w") to open(path, "wb") in line 667 and 694 of pyFDMNES.py
That seems to do the job for me.
Hi,
I had some issues with the EOL character in the "fdmfile.txt" and the input file when running pyFDMNES on a Windows machine. It seems that only a
\ninstead of a\n\ris written as an EOL which prevents FDMNES from running on Windows.Following the suggestion from here:
https://stackoverflow.com/questions/38074811/what-is-os-linesep-for
I changed
open(path, "w")toopen(path, "wb")in line 667 and 694 of pyFDMNES.pyThat seems to do the job for me.