On Wed, Nov 14, 2012 at 12:33 AM, Evans, Michael James <evan...@illinois.edu
> wrote:

>  Bob et al.,
> I'm seeing a discrepancy between JSmol and Jmol in the handling of inline
> data via commands like:
>
> load data "model"|a bunch of inline data|end "model";
>
>



> If you visit this page, download enolate.mo then open it back up on the
> page, it loads fine and the orbitals appear:
>
> http://www.metallacycle.com/play/moai/
>
> If you try the same on this JSmol version of the page, which is identical
> except for the "use" parameter, the structure does not load, although the
> orbital energy diagram appears just fine, indicating that the page can
> "see" the file's contents.
>
>
I'm not having any luck with that loading the sample water19.mo file

*Warning*: Division by zero in*/home/mevans86/
metallacycle.com/play/moai/index.php*on line *167

?
*

> http://www.metallacycle.com/play/moai/html5.php
>
> I load the model inline by pulling it from the uploaded file, so that I
> can discard the uploaded file rather than having it stay on my server once
> the user's done. Is "load data" deprecated?
>

load data is definitely the way to go. Try doing that without the vertical
bars:

load data "model"
[multi-line data here]
end "model"

That's part of core JSmol, so I know that works. Until a couple of days
ago, all the links on the right side of the test2.htm page used that; now
they just use the load command directly. But that is still in JSmolCore.js





> The documentation makes it seem that way in some places. Not sure if this
> is related, but even on your test page, Bob, I'm getting a "File Not Found"
> error when JSmol tries to load jsmol/j2s/java/io/OutputStreamWriter.js.
> There's no such file in the io directory…
>
>
Not related. That's to remind me to work on that. It's for the load AS
option, and maybe  the EXPORT command, which are not implemented yet (and
maybe won't be).

Bob



> Cheers, Mike
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to