It's a documentation error -- if you provide an atom expression, you have to also provide ON/TRUE/OFF/FALSE, and you don't have to provide an atom expression if you want this to operate on the currently selected atoms.
Angel Herraez wrote: >The doc >http://chemapps.stolaf.edu/jmol/docs/?ver=11.4#setlabels >says that you can put an atom expression, between braces, after >"set labelFront" or "set labelGroup" > >I cannot get this to work in either 11.4.5 or 11.5.47, as I get a >syntax error: > > set labelgroup {44-58} > >····················· >ERROR en guión:el argumento no es válido >----line 1 command 1 of file null: > set labelfront >> { << 44 - 58 } >Script completed >····················· > >I've tried {} or {()}, and I've tried a user defined set or the above >expression, or a single residue number. > >Can anyone advise if I'm getting it wrong, or there is a bug, or the >doc is not exact? >Thanks > > > >------------------------------------------------------------------------- >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-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Robert M. Hanson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr 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 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-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

