Skip to content

Commit cdf333b

Browse files
committed
Capitalization can mess this up
1 parent c0090e9 commit cdf333b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pymatgen/io/jdftx/inputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ def from_jdftxinfile(
12231223
]
12241224
coords_are_cartesian = False # is default for JDFTx
12251225
if "coords-type" in jdftxinfile:
1226-
coords_are_cartesian = jdftxinfile["coords-type"] == "Cartesian"
1226+
coords_are_cartesian = jdftxinfile["coords-type"].lower() == "cartesian"
12271227
if coords_are_cartesian:
12281228
coords *= bohr_to_ang
12291229
if not _allnone(velocities):

0 commit comments

Comments
 (0)