Re: [PyMOL] using a variable name within a selection

2005-09-14 Thread Gilleain Torrance
Hi, The last line in your script needs to be something like: cmd.pair_fit("/" + model + "///30-35/CA", "/template///289-294/CA") or, more compactly: cmd.pair_fit("/%s///30-35/CA" % model, "/template///289-294/CA") this will expand the 'model' variable correctly to whatever it was s

[PyMOL] using a variable name within a selection

2005-09-14 Thread Xavier Deupi
Hi, I'm trying to write a script to load a series of model peptides and superimpose them to a template structure. The part that actually loads the models and superimpose them looks like this: for i in range(1,100): model = 'model.pdb.' + str(i) cmd.load(model) cmd.hide(

[PyMOL] calculate angle protein-membrane

2005-09-14 Thread Andrea Spitaleri
Hi all, is there any way to calculate the angle between the axis-protein and a surface membrane? thanks regards, andrea

[PyMOL] Blank screen with windows XP

2005-09-14 Thread Andrew Napoli
Beginning today, I get a blank screen when I load a pdb file. The program seems to be running correctly. The file is "loaded", I can even select atoms in the file. But the atoms are not displayed on the screen (as lines, sticks, spheres, etc.). I tried installing a new pymol version with the same r

[PyMOL] Zooming out

2005-09-14 Thread Lucas Bleicher
Sometimes when I am typing commands on PyMol's top window all my view suddenly "zooms out" without any reason. It seems to happens mostly when I have written or pasted big commandas on that windows and try to edit them hitting the shift+left arrow or shift+home. This is particularly annoying when I