Re: [PyMOL] command line scrolling on Viewer

2017-05-02 Thread Jonathan Sheehan
Hi Beth, It sounds like you may have accidentally toggled "Overlay Text." In the Settings menu, see if that setting is checked, and un-check it. This works on Linux, not sure about Mac. On Tue, May 2, 2017 at 2:29 PM, Beth Stroupe wrote: > Hi all, > > I am new to PyMol and probably just made

[PyMOL] command line scrolling on Viewer

2017-05-02 Thread Beth Stroupe
Hi all, I am new to PyMol and probably just made a beginner’s mistake. I managed to get the command line history to scroll on the Viewer. I am not sure the sequence of events that lead to this, I was trying to select a region of the molecule with my mouse and must have used an unfortunate serie

[PyMOL] Replace main/side chain with a H atom in a script

2017-05-02 Thread Qianyi Cheng
I want to run QM calculation on reaction center of a large protein. So I need to chop off many parts of the protein. I want to replace some side/main chains with H atoms (for example replace the CB atom by a H atom and also modify the C-H bond to the correct length). I know how to make it work by

Re: [PyMOL] Using API to select resi, and return some information within a certain distance

2017-05-02 Thread David Hall
When debugging, it is good to stop running pymol as a command line app and just run your script in a pymol gui and see what it is going on. In this case, you would find your selections have zero atoms. Why? Because you are basing them on something like "resn 102" , which is using the residue name

Re: [PyMOL] Text Font size

2017-05-02 Thread Mykola Dimura
Thank you Thomas and Piotr, Unfortunately I only have PyMOL 1.7.6.4 - Incentive available at the moment. I will try the “display_scale_factor” option once my pymol installation is updated. Best regards, Mykola Dimura. On 1 May 2017 at 20:38, Thomas Holder wrote: > Hi Mykola, > > Incentive PyMOL

Re: [PyMOL] Using API to select resi, and return some information within a certain distance

2017-05-02 Thread Ahmad Abdelzaher
Thank you. I made a few mistakes in my code. I wasn't paying attention to the commented code because I was only trying stuff there. I still get: 1) a bunch of 3 kb black png's 2) I still have no idea what the command cmd.get_pdbstr do 3) can you give me a line using iterate to get the residue name