[ase-users] Ball and Stick Model

Iyemperumal, Satish Kumar siyemperumal at WPI.EDU
Mon Mar 28 21:38:22 CEST 2016


Hello

I am trying to create a ball and stick image of a structure. I tried to use get_bondpairs function from ase.io.pov. But there is something wrong with the values generated by get_bondpairs, which leads to "ValueError: Too many values to unpack".

I have attached the script that I use along with the POSCAR file.

Thank you for you help.

ASE version: 3.10.0




Best,
Satish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script.py
Type: text/x-python-script
Size: 1973 bytes
Desc: script.py
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20160328/f327471a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: POSCAR
Type: application/octet-stream
Size: 9106 bytes
Desc: POSCAR
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20160328/f327471a/attachment.obj>


More information about the ase-users mailing list