Eric, I'm not enthusiastic about removing useful functionality from 
Jmol, and that distinction is useful, as noted by others. What you are 
suggesting, I think, is only applicable to knowledgeable users using the 
console to do selections, because otherwise you can do the resno 
business yourself in code. If you wanted to, upon file loading you could 
test for it and warn users using:

script inline "select protein and " + {protein}.resno.min + "-" + 
{protein}.resno.max
if ({selected} != {protein})
    javascript alert("Note: Protein sequence may contain irregularities.")
endif

or perhaps something more subtle than an alert.


Bob



-- 
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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to