io.pwscf.PWInput.from_file()
incorrectly reads decimal numbers and the K_POINTS
card in automatic
mode
#4114
Labels
Python version
Python 3.12.4
Pymatgen version
2024.10.3
Operating system version
Ubuntu 22.04.5 LTS
Current behavior
The
io.pwscf.PWInput.from_file()
method fails to correctly parse:e
orE
(note that as of QE v7.3,pw.x
can still parse such cases correctly; i.e., exponent prefix need not bed
), andK_POINTS
card with mode set toautomatic
.Example input file
scf.in
:Current behavior:
Expected Behavior
I expect both the
conv_thr
value and theK_POINTS
card in the above example input file to be parsed correctly.Minimal example
Relevant files to reproduce this bug
No response
The text was updated successfully, but these errors were encountered: