For MOLfiles witout content in the first line (mine is generated as inline
model by reading a
textarea), the call to
jmolGetPropertyAsString("stateInfo")
returns a string that has
data "model inline"
followed by a line break and the second line of the MOLfile. It seems that
this is due to the
first data line (empty here) being appended after "model inline" without any
new line.
So then, when I feed that string into Jmol (resizable popup) using
getState()
there is an error -format not recognized.
This is fixed if I manually enter any text -even a space- into the first line
or if I replace the
first \n with \n \n
Could this detail be fixed in stateInfo?
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers