User 21b7e0228c
05-05-2008 13:22:29
Hi!
Have a look at the attached .html file (it's cgi-generated, but the standalone version will do as well). It doesn't want to load, and I guess it's because of the "\n" appearing in the SMILES, and which is misinterpreted by the javaScript (the same SMILES causes no trouble if loaded straight into msketch!). Definitely, \n stands for many things in these troubled days (note that the smiles under question is the standardized unique form) - so how can be this ambiguity lifted? I may of course check for this and let the .cgi substitute any \n to \\n prior to printing out the quoted smiles (if that would help, don't know!!) but maybe there'd be some more elegant solution to this?
Cheers!
Dragos
Have a look at the attached .html file (it's cgi-generated, but the standalone version will do as well). It doesn't want to load, and I guess it's because of the "\n" appearing in the SMILES, and which is misinterpreted by the javaScript (the same SMILES causes no trouble if loaded straight into msketch!). Definitely, \n stands for many things in these troubled days (note that the smiles under question is the standardized unique form) - so how can be this ambiguity lifted? I may of course check for this and let the .cgi substitute any \n to \\n prior to printing out the quoted smiles (if that would help, don't know!!) but maybe there'd be some more elegant solution to this?
Cheers!
Dragos