Quoting Bob Hanson <[EMAIL PROTECTED]>: > 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. >
What do you think about the following solution: Only if one of the border residues is not present, the ">=/<=" selection mechanism is used instead. This would mean that nothing would change with respect to numbering irregularities if one makes sure that the border residues of a range are present. This is currently already necessary in order to get a correct range selection. If one of the border residues is not present, the selection is currently not as desired in any case (nothing is selected). But by using the other mechanism in these cases the selection would be probably in >=95 percent as desired. So the overall failure rate would be reduced. And the failure rate for cases with numbering irregularities would not be increased. Only the type of the failure would change. Regards, Rolf ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- 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 Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users