It was a missing line in the script compiler code. Fixed for Jmol 12.0.RC27
and 11.8.26.

Bob

On Tue, Jul 20, 2010 at 8:36 AM, Paul Pillot <
[email protected]> wrote:

> Dear Jmolers,
> I'm currently struggling with atom expressions, here is the script :
> when the residue I ant to select or deselect is 10:B, this works fine :
> if ({selected or 10:B}.size>{selected}.size ) select selected or 10:B; else
> select selected and not 10:B;
> But when the residue is for example 10: (no chain identifier), it leads to
> an error :
> if ({selected or 10:}.size>{selected}.size ) select selected or 10:; else
> select selected and not 10:;
>
> if ({selected or 10:}.size>{selected}.size ) <<<<
> Erreur du compilateur de script: } attendu
>
> However, select 10: works as expected (to me at least !)
>
> Is there a proper syntax to circumvent this error ?
> Thanks
> -Paul
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
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
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to