From: Warren L. D. <wa...@su...> - 2002-06-02 16:18:07
|
On Sat, 1 Jun 2002 kk...@ga... wrote: > Dear pymolers, > > I can select some residues in my protein in the command prompt > by saying for example > select prot = (////VAL or ////PRO or ////GLY) There is a more concise way to write this: select prot, val+pro+gly/ > but now I have trouble translating this into python script. > I tried many varieties including something like > cmd.select( prot, (////VAL or ////PRO or ////GLY) ) > but by far nothing works. You need to quote your strings: cmd.select("prot","val+pro+gly/") - Warren |