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