David Leader wrote:

>I wrote:
>
>  
>
>>but "conformation A" does nothing for me. It seems to be 'taking' in 
>>the script, because if I load the page that way, I no longer have
>>conformation options on the menu. Any idea what I'm doing wrong?
>>    
>>
>
>(That was a typo, I had used 'configuration')
>
>  
>
Actually, "conformation" is synonymous with "configuration", but you do 
have to use 1, not "A"

>and Bob replied
>
>  
>
>>configuration 1
>>display selected
>>    
>>
>
>OK, I was confused by being offered configuration A, and I hadn't 
>realized that one needed the 'display selected'. Thanks.
>
>But at the risk of being a complete pain, this generates another 
>problem. The residues displayed in one view now carry over to another 
>view; and in my hands 'restrict none', 'display none' or 'select 
>none', at the start of the scripts doesn't help.
>
>  
>
It's tricky, for sure.

>I'm afraid my basic lack of understanding of this syntax is showing, 
>but I've spent a good hour banging my head on this.
>
>If you look at <http://doolittle.ibls.gla.ac.uk/leader/jmoltest/> 
>which I haven't modified since I first posted it, you can reproduce 
>the problem.
>1. switch to Single motif display,
>2. click the radio button Catmat 48,49,50
>3. then get out the console from the popup menu and:
>       configuration 1
>       display selected
>4. Looks good. But now click on the radio for Catmat 81,82,83, and 
>you'll see these, but also Catmat 48,49 and 50 are still there. And 
>if you select the radio for another group or go back to Catmat 
>48,49,50... arghhhhhhhhhhhhhhhhhhhh
>  
>
Believe me, I have done my share of head-banging on this as well. You 
are in good company.

Here's one of your button codes:

echo; restrict (133,134,135,136,137) AND protein AND NOT 
(*.H,*.H?,*.H??, *.H???, *.?H, *.?H?, *.?H??, *.?H???); centre selected; 
wireframe 0.3; zoom 5000; select [CU], [ZN]; spacefill;

Your need is to incorporate the configuration business into this. I'm 
not sure how you want to do that -- if one configuration is all you 
want, or if you want an independent set of buttons that offers to cross 
all of these buttons with all the configurations. But basically, just 
remember that the result of a configuration command is the selection of 
atoms. So you can either:

1) select them yourself and not care about configurations,  using, for 
example:

  select (*%,*%A)

or

2) use configuration command:

 configuration 1

Then, I think, what you want is

echo; configuration 1; restrict selected AND (133,134,135,136,137) AND 
protein AND NOT (*..H???, *.?H???); centre selected; wireframe 0.3; zoom 
5000; select [CU], [ZN]; spacefill;

What you are missing now is the "selected AND" at the beginning of that.

Bob



>David
>  
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to