ValueError: can't normalize zero length array

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

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@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@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users
participants (2)
-
Eric Pettersen
-
jyoti vishwakarma