[Chimera-users] ValueError: can't normalize zero length array

Eric Pettersen pett at cgl.ucsf.edu
Wed May 4 08:49:14 PDT 2022


Hi Jyoti,
	See this previous mailing list message: [Chimera-users] issues with visualization of saxs models in chimera <https://www.cgl.ucsf.edu/pipermail/chimera-users/2020-October/017367.html>
	Basically, Chimera has problems with these fake molecules where the atoms are on a regular grid and you need to prevent Chimera from trying to create bonds between these "atoms".  You do that by changing all the ATOM records into HETATM records (see the linked message above).  I've attached versions of the files you sent with the ATOMs changed to HETATMs, and they work fine in Chimera.

--Eric

	Eric Pettersen
	UCSF Computer Graphics Lab



> On May 4, 2022, at 2:12 AM, jyoti vishwakarma via Chimera-users <chimera-users at cgl.ucsf.edu> wrote:
> 
> ValueError Exception in Tk callback
> Function:<function<lambda> at 0x000000000EF38DD8> (type:<type 'function'>)
> Module:<module 'Tkinter' from 'C:\Program Files\Chimera 1.16\bin\lib\lib-tk\Tkinter.pyc'> (line: 590)
> Args: ()
> Traceback (innermost last):
> File "C:\Program Files\Chimera 1.16\bin\lib\site-packages\Pmw\Pmw_1_3_3\lib\PmwBase.py", line 1747, in __call__
> return apply(self.func, args)
> File "C:\Program Files\Chimera 1.16\bin\lib\lib-tk\Tkinter.py", line 592, in callit
> func(*args)
> File "C:\Program Files\Chimera 1.16\share\chimera\tkgui.py", line 3025, in<lambda>
> lambda s=self, e=event: s.showLabelBalloon(e))
> File "C:\Program Files\Chimera 1.16\share\chimera\tkgui.py", line 3030, in showLabelBalloon
> objs = self.viewer.pick(event.x, event.y)
> ValueError: can't normalize zero length array
> 
> ――――――――――――――――――――
> 
> -- 
> Regards,
> Jyoti Vishwakarma
> UGC-SRF
> c/o Dr. R. Ravishankar
> Biochemistry & Structural Biology Division
> CSIR-Central Drug Research Institute
> Lucknow-226031
> <Nei_Ssb_35uM-4-1.pdb><Nei_Ssb_35uM-damfilt.pdb>_______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20220504/7df1c1d1/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Nei_Ssb_35uM-4-1.pdb
Type: application/octet-stream
Size: 33391 bytes
Desc: not available
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20220504/7df1c1d1/attachment-0002.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20220504/7df1c1d1/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Nei_Ssb_35uM-damfilt.pdb
Type: application/octet-stream
Size: 64073 bytes
Desc: not available
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20220504/7df1c1d1/attachment-0003.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20220504/7df1c1d1/attachment-0005.html>


More information about the Chimera-users mailing list