Re: [PyMOL] bbPlane script "SyntaxError: invalid syntax"

2011-08-25 Thread H. Adam Steinberg
Thanks Tsjerk, When I run this script, I see: PyMOL>pplanes selection, (sele) Selector-Error: Invalid Selection Name. ( selection and n. ca )<-- I have tried selecting just one "n and ca" in the pdb, tried selecting multiple "n and ca", tried a bunch of other selections, but it's not working.

Re: [PyMOL] bbPlane script "SyntaxError: invalid syntax"

2011-08-25 Thread Jason Vertrees
Hi Adam, I updated the wiki page to remove the spurious spaces--good idea. > I am trying to follow the example in the Wiki to make sure it works before I > try it on my pdb. However, when I run the command "bbPlane i. 4-10" I get a > new error: > > PyMOL>bbPlane i. 4-10 > Traceback (most recent

Re: [PyMOL] bbPlane script "SyntaxError: invalid syntax"

2011-08-25 Thread H. Adam Steinberg
I erased all of the spaces in the "blank" lines and now the script works. When I erased them in line 14 then it found them in kine 38, etc. You may want to update the script on the WIki to one without spaces. I am trying to follow the example in the Wiki to make sure it works before I try it on

Re: [PyMOL] bbPlane script "SyntaxError: invalid syntax"

2011-08-25 Thread Tsjerk Wassenaar
Hi Adam, Here's an alternative script... The command is pplanes (peptide-planes): run triangles.py pplanes selection[, color[, alpha[, state[, name Hope it helps, Tsjerk On Thu, Aug 25, 2011 at 5:34 PM, H. Adam Steinberg wrote: > Hi all, > Can anyone help me with a problem that I am havi

Re: [PyMOL] bbPlane script "SyntaxError: invalid syntax"

2011-08-25 Thread Jason Vertrees
Hi Adam, I just copy/pasted the script you attached in your email and it worked fine. There are, however two spaces on line 14--maybe the parser thinks it found a block indent? Try erasing line 14 (the line following "from chempy import cpv") and re-running the script. Cheers, -- Jason On Thu,

[PyMOL] bbPlane script "SyntaxError: invalid syntax"

2011-08-25 Thread H. Adam Steinberg
Hi all, Can anyone help me with a problem that I am having trying to run a python script? I am trying to run the bbPlane script from the PyMOLWiki I have copied the script from the web page, to a plain text document, saved it as "bbPlane.py" but when