Re: [PyMOL] Tk and scripting

2009-03-09 Thread Warren DeLano
Bradley, PyMOL's mainloop runs in a separate thread from Tkinter, so you can't call it directly from PyMOL scripts. See modules/pmg_tk/startup/__init__.py inside the PyMOL installation for an example code snippet for writing your own Tkinter plugin for PyMOL (which install or run upon start

[PyMOL] Tk and scripting

2009-03-09 Thread Bradley Hintze
I am writing a script for PyMol and noticed you that PyMol freezes when you try to bring up your own Tkinter windows. Is there a way to get around this so I can get my Tk window up? -- Bradley J. Hintze Biochemistry Undergraduate Utah State University 801-712-8799

Re: [PyMOL] Showing hydrogen bonds

2009-03-09 Thread Warren DeLano
Pankaj, distance name, selection, selection, mode=2 For example: load $TUT/1hpv.pdb distance my_dist, A/98/, B/2/, mode=2 Cheers, Warren From: Pankaj Barah [mailto:pankaj_prot...@yahoo.co.in] Sent: Sunday, March 08, 2009 11:43 PM To: py

[PyMOL] Showing hydrogen bonds

2009-03-09 Thread Pankaj Barah
Hi, How can I visualize and calculate the distance of  hydrogen bonds between two residues in PyMol? --- Pankaj Barah Mathematical modelling & Computational Biology Group Centre for Cellular & Molecular Biology Uppal Road, Hyderabad 500 007, AP, India Connect with friends all over