Closed elichad closed 2 years ago
This is specifically a problem with .castep
files having CRLF endings. Our use of load_tree
calls back to ReadWriteCastep.read
which in turn calls ase.io.read
, so it's an ASE incompatibility.
However, realistically, .castep
files are never written with CRLF, and it's unlikely that they will be mutated to have CRLF through normal copy processes. Git is an unusual case because it can mess with line endings depending on machine configuration; I think when I initially cloned this repo on Windows, Git flipped everything to CRLF when it shouldn't have done. I fixed that locally so I'll close this issue.
TL;DR for anyone experiencing this same error in future: make sure your .castep
files are using LF line endings.
Not sure if this is a problem with Soprano or with the pymuon-suite ReadWrite classes
Converting the files to use LF endings fixed the error.