I'm hoping fresh eyes can spot my trouble here. I have a loop that cycles
through a series of specific residues and selects out the one with the
largest number of atoms. Under prior versions of Jmol (11.6.RC16), I could
get away with the following syntax:
if {(resno=bigres)}.size > 6
I'm adapting these scripts for version 11.8+ and currently working with
version 11.9.11 and it does not like this at all. "Command expected" is the
response.
Is there another way of testing for the number of atoms in a residue number
specified by my own variable? I'm testing within a larger selection, so I'd
like to not lose that selection.
Thanks -- I feel like I'm staring right at the solution and not seeing
it.....
-Tom
PS - I can supply the larger script, but I believe that I have narrowed the
problem down to this {(resno=variable)} construct....
"print bigres" reports a proper numerical value, etc
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users