Jmol/debugging: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Karsten Theis (talk | contribs)
No edit summary
Karsten Theis (talk | contribs)
Line 18: Line 18:
You can use the JSmol Console to query variable values as
You can use the JSmol Console to query variable values as


<nowiki>javascript alert(javascript-expression)</nowiki>
<nowiki>javascript alert(javascript-expression)</nowiki>


or
or


<nowiki>javascript alert(jmolEvaluate(jmol-expression))</nowiki>
<nowiki>javascript alert(jmolEvaluate(jmol-expression))</nowiki>


== Acknowledgements ==
== Acknowledgements ==


Some of these techniques were suggested by [https://sourceforge.net/p/jmol/mailman/message/37260020/ Bob Hanson] and [https://sourceforge.net/p/jmol/mailman/message/37259976/ Eric Martz] in response to a query on the Jmol listserv.
Some of these techniques were suggested by [https://sourceforge.net/p/jmol/mailman/message/37260020/ Bob Hanson] and [https://sourceforge.net/p/jmol/mailman/message/37259976/ Eric Martz] in response to a query on the Jmol listserv.