On Sat, 1 Jun 2002 kkli...@gate.sinica.edu.tw 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