Skip to content

Commit b1a8e1e

Browse files
authored
Merge pull request #56 from haidi-ustc/devel
fix bug for POSCAR format
2 parents b879a09 + 707f595 commit b1a8e1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dpdata/vasp/poscar.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ def from_system_data(system, f_idx = 0, skip_zeros = True) :
6767
if ii == 0: continue
6868
ret += '%d ' % ii
6969
ret += '\n'
70-
ret += 'cartesian\n'
70+
# should use Cartesian for VESTA software
71+
ret += 'Cartesian\n'
7172
atype = system['atom_types']
7273
posis = system['coords'][f_idx]
7374
# atype_idx = [[idx,tt] for idx,tt in enumerate(atype)]

0 commit comments

Comments
 (0)