Bugs item #2309941, was opened at 2008-11-18 16:31
Message generated for change (Comment added) made by rhuehne
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: Closed
Resolution: Fixed
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: Rolf Huehne (rhuehne)
Date: 2008-11-20 15:13

Message:
I tried 11.6.5 and it still doesn't work as in 11.5.35 with example 1mir:

  "select 10^P-17^P" results in 0 selected atoms.

With spaces around "-" it works.

  "select 10^P-17^P:A" results in a slightly different error message than
before:

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


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

Comment By: Bob Hanson (hansonr)
Date: 2008-11-18 23:15

Message:
Fixed for Jmol 11.6.5 and 11.7.13
problem was the compiler miscompiling the negative number. Thus,

  select 10^P - 17^P

was OK, but not

  select 10^P-17^P


In addition,

  select 10^P-17^P:A

is a fine construct.



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

Comment By: Angel Herraez (aherraez)
Date: 2008-11-18 18: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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to