Skip to content

Commit ca83648

Browse files
committed
BugFix: NUMBER_BY_SYMBOL is a dict
use `dict[key]`, not `dict(key)` in plotter
1 parent 502b080 commit ca83648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arc/plotter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ def save_irc_traj_animation(irc_f_path, irc_r_path, out_path):
751751
f.write(' Number Number Type X Y Z\n')
752752
f.write(' ---------------------------------------------------------------------\n')
753753
for i, symbol in enumerate(xyz['symbols']):
754-
el_num, x, y, z = NUMBER_BY_SYMBOL(symbol), xs[i], ys[i], zs[i]
754+
el_num, x, y, z = NUMBER_BY_SYMBOL[symbol], xs[i], ys[i], zs[i]
755755
f.write(f' {i + 1:>5} {el_num} 0 {x} {y} {z}\n')
756756
f.write(' ---------------------------------------------------------------------\n')
757757
f.write(' GradGradGradGradGradGradGradGradGradGradGradGradGradGradGradGradGradGrad\n')

0 commit comments

Comments
 (0)