mailhexu / TB2J

a python package for computing magnetic interaction parameters
BSD 2-Clause "Simplified" License
67 stars 29 forks source link

XYZ posfile #3

Closed nicolastd closed 3 years ago

nicolastd commented 3 years ago

Dear developers,

It seems that at the moment it is possible to provide an apparently valid --posfile option with an XYZ file (supported by ASE). However, this leads to a zero Cell parameter matrix, which lead to a singular matrix at some point in the code.

Probably this should be check.

mailhexu commented 3 years ago

Thanks! Indeed xyz format can not be used. In the next version, the posfile option will be removed, instead it will only use the Wannier input and output files to get the position information.