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


On Tue, Nov 18, 2008 at 12:56 PM, <> 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:

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 (
 "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

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:

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
Jmol-developers mailing list

Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
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