Miguel wrote:

Bob wrote:



particularly on load, but not just then. Something like:

...script completed: 0
...script completed: 1


What I meant was, this would be what the message callback would look like. See below

Does Chime offer something similar?


Yes. But it looks like errors just never come back. We can do better!

Here's from chime messagecallback:

messages appear here
<embed width=400 height=400 src=small.pdb name=C0_4582168112637053 spiny=80 startspin=false script='select not protein;spacefill 120;wireframe 40;select solvent;spacefill 0' messagecallback=chimeloaded>
No atoms selected!
No atoms selected!
script <exiting>
Chime script completed.


and again:

<embed type=application/x-spt hidden=true width=10 height=10 button=push target=C0_4582168112637053 script="load pdb 1ash.pdb" immediate=1>
Requesting 1ash.pdb ...
script <exiting>
Chime script completed.


<embed type=application/x-spt hidden=true width=10 height=10 button=push target=C0_4582168112637053 script="select *;wireframe off;color structure;structure;cartoon;select *;color chain;select hetero,his;color cpk;spacefill 120;wireframe 50;select solvent;spacefill off;wireframe off;" immediate=1>
1346 atoms selected!
1346 atoms selected!
177 atoms selected!
62 atoms selected!
script <exiting>
Chime script completed.


here's a failure:

<embed type=application/x-spt hidden=true width=10 height=10 button=push target=C0_4582168112637053 script="load pdb adfj.adf" immediate=1>
Requesting adfj.adf ...


Bob




one of these would indicate an error condition



I am not understanding.

Are these two different scripts that terminated? Or is it one script that
sent a 0/1 as a false/true value?


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers



--

-- Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr




------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to