User e34a92cce5
07-08-2010 01:41:54
I am using Marvin 5.3.1 for my marvin view applets on my website. I use the following code as suggested in your examples to display my structures:
mview_param("mol","<?php if($smiles){ echo $smiles; } ?>");
I have an example of a smiles string that looks like this: .[H]\C(CCN)=C(\[H])C(C)=C
The problem is that mview seems to disregard the forward slashes and assigns a single up (wavy) bond to the lone Hydrogen atom. MarvinSketch seems to display the structure correctly and so does the MarvinView desktop software. So the problem is the marvinview web applet. Is there a way to work around this problem.