thanks, Andreas. This is on our list of things to do.

SourceForge.net wrote:

Patches item #1421626, was opened at 2006-02-01 16:35
Message generated for change (Comment added) made by pandreas
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379135&aid=1421626&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Priority: 5
Submitted By: Andreas Prlic (pandreas)
Assigned to: Nobody/Anonymous (nobody)
Summary: jmol - thread issues

Initial Comment:
Hi!

- I recently submitted a patch to the mailing list
about the threading issues related to the Eval of
scripting commands. The patch was not sufficient as
there still was an issue e.g. with the zap command. To
work around this, this patch provides an additional
evalStringSync method, which runs Eval in the main
thread, instead of starting a new one.

- the getAtomChain and getAtomSequenceCode of the
viewer are made accessible to the outside, so
applications do not have to parse the string returned
from notifyAtomPicked.



----------------------------------------------------------------------

Comment By: Andreas Prlic (pandreas)
Date: 2006-04-06 10:07

Message:
Logged In: YES user_id=1441570

Hi Bob,

I checked out the current version from SVN, but
JmolSimpleViewer does not contain an evalStringWait method.


I suppose it would work like:
viewer.evalStringWait("select *.B; spacefill on; ");
viewer.evalStringWait("select *.A; wireframe on; ");

?

Thanks,
Andreas



----------------------------------------------------------------------

Comment By: Bob Hanson (hansonr)
Date: 2006-03-07 05:26

Message:
Logged In: YES user_id=1082841

the command is being implemented as

String evalStringWait(String script)

getProperty("jmolStatus","atomPicked") returns more friendly information. your patch is certainly more involved; please try what I have implemented and see if it does the trick for
you. No script queue was implemented; not sure where that
idea is necessary.




----------------------------------------------------------------------

You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379135&aid=1421626&group_id=23629


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to