On 26 Jan 2011 at 9:53, Robert Hanson wrote:
> oh, yes! It's very valuable.
>
> 2011/1/26 Angel Herráez
> Mmmm... I see that jmolEvaluate() is not in the doc for Jmol.js
> Maybe we should add it there (under Advanced)
Done. Will be online in the next update of the website,
http://jmol.
oh, yes! It's very valuable.
2011/1/26 Angel Herráez
> Mmmm... I see that jmolEvaluate() is not in the doc for Jmol.js
> Maybe we should add it there (under Advanced)
>
>
>
>
> --
> Special Offer-- Download ArcSight Logg
Mmmm... I see that jmolEvaluate() is not in the doc for Jmol.js
Maybe we should add it there (under Advanced)
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management
if (jmolDebugOn) { memVar1 += msg1 + "~"; memVar2 += msg2 + "~"; }
> msg1Old = msg1;
> msg2Old = msg2;
> }
>
>
> --
> Otis Rothenberger
> Department of Chemistry
> Illinois State University Normal, IL 61790-4160
> http://chemagic.org
>
> ---
1790-4160
http://chemagic.org
From: "Otis Rothenberger"
Sent: Tuesday, January 25, 2011 7:39 PM
To: jmol-users@lists.sourceforge.net
Subject: Re: [Jmol-users] extract min and max resNo to javascript
Bob,
That's interesting. Does this me
Bob,
That's interesting. Does this mean that you do not have to use the WAIT?
Otis
var x = eval(jmolEvaluate("[" + {*}.resno.min + "," + {*}.resno.max + "]"))
would get you both of them at once.
2011/1/25 Angel Herráez
Hello all
This must be trivial, but I'm stuck
I need to extract the min
t;
-1 || msg2.indexOf("assign bond") > -1) { doUFF(num); }if (jmolDebugOn) {
memVar1 += msg1 + "~"; memVar2 += msg2 + "~"; }msg1Old = msg1;msg2Old =
msg2;}
--
Otis Rothenberger
Department of Chemistry
Illinois State University
Normal, IL 61790-416
var x = eval(jmolEvaluate("[" + {*}.resno.min + "," + {*}.resno.max + "]"))
would get you both of them at once.
2011/1/25 Angel Herráez
> Hello all
>
> This must be trivial, but I'm stuck
>
> I need to extract the minimum and maximum residue nurmber from a one-chain
> pdb file into
> a Javascri
Great, Alex, thanks
I had forgotten about jmolEvaluate()
This does the trick:
alert( jmolEvaluate( "{*}.resno.min;" ) );
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-
Hi,
I think you can build on this:
jmolScriptWait('var foo = "bar";');
var msg = jmolEvaluate( "script('echo @foo');" );
Alex
Am 26.01.2011 um 01:05 schrieb Angel Herráez:
> Hello all
>
> This must be trivial, but I'm stuck
>
> I need to extract the minimum and maximum residue nurmber from
Hello all
This must be trivial, but I'm stuck
I need to extract the minimum and maximum residue nurmber from a one-chain pdb
file into
a Javascript variable.
The Jmol commands are
m1 = {*}.resno.min
m2 = {*}.resno.max
but I don't know how to pass those to a javascript variable (I need to ch
11 matches
Mail list logo