Todd wrote:

>>Q: Are these lines at the very top of the file?
>
> Yes.  lines two and three in the cif.   Here are the first four lines in
> the cif:
> data_something_I
> _audit_creation_date              2003-04-30
> _audit_creation_method            'Materials Studio'
> _symmetry_space_group_name_H-M    'R-3'
>
> I altered the first line slightly, it had a label that we don't want to
> disclose.

Understood.

>  I just replace every single quote with a space before I call
> jmolAppletInline and Jmol now works fine.

Bad news ... I am not able to reproduce this problem.

I added these lines to the top of a file, but it loads fine.

A quick review of the source code turned up nothing. The sample files that
I use all have single-quoted strings in them ... seemingly equivalent to
what you have ... so I do not see where the problem could be.

Please do the following:

1. Try loading your cif file using the Jmol application instead of the
Jmol applet. The Jmol application is called Jmol.jar. You can run it by
saying:

  java -jar Jmol.jar

Open up stdout by saying Help->Console

File->Open {your-file.cif}

If it dies, there should be a stack dump to the console.

Please report results and first 4 lines of stack dump (if any)

2. Open the Java console in your web browser. Depending upon your browser
it will be in different places. In a corporate environment you are
probably using IE.

If you are running with the MSFT JVM then you will go to

  Tools -> Internet Options -> Advanced -> Microsoft VM -> Java Console
Enabled

Then close all instances of IE and start again.

If you are running the Sun Java Plug-in then (as I recall) the process is
quite similar.

Then load up your .cif file. Tell me what results you see in Java console.


Miguel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to