[Jmol-users] sorting by atom properties

2012-06-22 Thread Alexander Rose
Hi, I would like to sort an atom selection by some atom property. I can do 'var x = {1}.vdw.all; x.sort; print x;' but then I loose the link to actual atoms. I know what the 3rd smallest vdw radius is but not to which atom(s) it belongs. I know that I could use a loop in Jmol-script but that

Re: [Jmol-users] Applet Fatigue

2012-06-22 Thread Otis Rothenberger
Rolf, Ok, I played with it until I broke it, admittedly trying to break it. When it broke, the Java console had traced the script actions. I'm a bit over my head here. At the break point, the console reported what I'm pasting at the end of this note. The break point in this case allowed mouse

Re: [Jmol-users] Applet Fatigue

2012-06-22 Thread Robert Hanson
that's what we're looking for. Thanks. If you can remember what the VERY LAST COMMAND you were entering was, that would be helpful. It's a bug in the script compiler, and usually this is due to typing commands into the console that are unfinished while checking scripts as you type. I can fix that

Re: [Jmol-users] Applet Fatigue

2012-06-22 Thread Robert Hanson
OK, I need to know a bit more. Are you pushing buttons or typing into the console when this happens? It's almost certainly a threading issue - two processes happening at once, both accessing the script compiler at the same time. Very unusual. I'm pretty sure there is no other way of that

Re: [Jmol-users] label and pick isosurfaces/draw objects

2012-06-22 Thread Alexander Rose
- Ursprüngliche Mail - Von: Alexander Rose alexander.r...@weirdbyte.de An: jmol-users@lists.sourceforge.net Gesendet: Mittwoch, 20. Juni 2012 16:33:09 Betreff: label and pick isosurfaces/draw objects Hi, I try to get the ID of an isosurface/draw object upon clicking on it. I

Re: [Jmol-users] sorting by atom properties

2012-06-22 Thread Robert Hanson
Yes, x.sort(1) is the way to go. x = [ ] Var atoms = {*} for (var i = atoms.size; i 0; --i) { x[i] = [atoms[i].atomIndex,atoms[i].vdw] } x = x.sort(2) On Fri, Jun 22, 2012 at 9:10 AM, Alexander Rose alexander.r...@weirdbyte.de wrote: Hi, I would like to sort an atom selection by some atom

Re: [Jmol-users] Applet Fatigue

2012-06-22 Thread Otis Rothenberger
Bob, I'm in Tampa right now.I have the entire console report at home, and I'll send it when I get back to Anna Maria Island. For what it's worth now, I'm pretty sure that I was repeatedly clicking the Load ethane link on the VMK Edit screen. I noticed the hang up when I clicked the MEP 100