this is fixed -- in the mean time, just add a space after the minus sign -- Jmol is simply misreading "-17".

Bob


On Tue, Nov 18, 2008 at 12:56 PM, SourceForge.net <noreply@sourceforge.net> wrote:
Bugs item #2309941, was opened at 2008-11-18 17:31
Message generated for change (Comment added) made by aherraez
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=2309941&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Scripting
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Rolf Huehne (rhuehne)
Assigned to: Miguel (migueljmol)
Summary: Range selection with insertion code broken

Initial Comment:
In version 11.6.x and also 11.7.13_dev the range selection is broken if the range border contains an insertion code. I don't know exactly when it started. But it still worked in 11.5.35.

Example: 1mir (http://www.fli-leibniz.de/cgi-bin/pdb_alignment.pl?CODE=1mir)
 "select 10^P-17^P" results in 0 selected atoms.
 "select 10^P-17^P:A" results in an error message:

script ERROR: invalid argument
----line 1 command 1:
        select { 10^P - 17 } ^ : >> A <<


----------------------------------------------------------------------

Comment By: Angel Herraez (aherraez)
Date: 2008-11-18 19:56

Message:
Rolf, I'd say that the second one will never work; you need  at least

select (10^P-17^P) and *:A



----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=2309941&group_id=23629

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers



--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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