Jmol 11.5.7 is set to incorporate the requirement that an explicit 
"select NONE" be given prior to setting label defaults. This seems good 
practice and is implemented to avoid the problem Frieda had with a 
"select" that happened to select no atoms then setting the default label 
parameters.

Bob


Frieda Reichsman wrote:

>Thanks for that neat lesson in detective work, I will be using the  
>history tricks you demonstrate.
>
>I use a single labels script throughout a set of figures, thinking  
>that selecting something that's not there would not have a negative  
>effect. (There, I was certainly wrong.) But a few if statements in the  
>script, I  imagine, should enable Jmol to avoid those calls that  
>select no atoms.
>
>Frieda
>
>On Feb 14, 2008, at 7:48 AM, Bob Hanson wrote:
>
>  
>
>>Frieda,
>>
>>That's what I needed. It's a sneaky script bug. When you see the  
>>default
>>change like that, it means you had the equivalent of a
>>
>> select none
>>
>>which most likely means you selected something that does not exist. So
>>it ACTS like a "select none"
>>
>>In the console on that page, I typed:
>>
>>  set history 0;set history 2000;set historyLevel 3
>>
>>That (a) resets the history, (b) allows a long history listing in  
>>case I
>>need it, and (c) sets Jmol to record history from called scripts of at
>>least two levels deep, not just the command line. Frieda, remember  
>>that
>>one -- you will use it again!
>>
>>Here's what I got for that history:
>>
>># ------fig 1a ------------
>>select 179:A.CA
>>label Hsp90-N
>>set labeloffset 0 -20
>>#color label black
>>#font label 20 sans bold
>>#set labelpointer off
>>
>>#....lots more...
>>
>>select atomno=622 and :Z
>>label Asp93
>>font label 14 sans bold
>>color label magenta
>>set labeloffset 1 0
>>set labelpointer off
>>
>>
>>That's a default setting, because when I type
>>
>>  select atomno=622 and :Z
>>
>>I get
>>
>> 0 atoms selected
>>
>>And from
>>
>>  print {atomno=622}.ident
>>
>>I see
>>
>> [ARG]78:A.C
>>
>>which of course is not chain :Z
>>
>>In connection with that, the Hsp90-N label has a default color and  
>>font,
>>so when you send that script again, it picks up the default settings,
>>which are now set to magenta 14.
>>
>>Mystery solved!
>>
>>Bob
>>
>>    
>>
>>>http://moleculesinmotion.com/3Dfigure_test/figure1.htm
>>>
>>>
>>>
>>>      
>>>
>>-- 
>>Robert M. Hanson
>>Professor of Chemistry
>>St. Olaf College
>>Northfield, MN
>>http://www.stolaf.edu/people/hansonr
>>
>>
>>If nature does not answer first what we want,
>>it is better to take what answer we get.
>>
>>-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>>
>>
>>
>>-------------------------------------------------------------------------
>>This SF.net email is sponsored by: Microsoft
>>Defy all challenges. Microsoft(R) Visual Studio 2008.
>>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>_______________________________________________
>>Jmol-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/jmol-users
>>    
>>
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2008.
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>


-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get. 

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to