Closed yCobanoglu closed 3 years ago
This is a (potential) issue with the ASE io module to read and write espresso files. It's not related to ase-espresso. ASE's io module and ase-espresso are two separate, unrelated projects.
@yCobanoglu this is probably way to late, but I'll leave a comment for the case someone else faces this problem as well.
I just stumbled upon this gh issue when googling this problem (which is still there, 3 years later...) The solution is to use a slice rather than the default integer index:
espresso.read_espresso_out(file, index=slice(None))
They even mention in the docs, that this parameter should be a slice - yet an integer -1
is set as the default value.
causes
Line 170:
The error is obvious but the fix isn't (for sb who didn't write the parser at least).