MarvinSpace Applet does not accept SMILES string directly?

User 419d01bb28

29-03-2010 03:08:26


Hi all:


I'm using the latest MarvinSpace applet (5.3.1) to display 2D/3D molecular structure, the 2D works well with the following js code:


mview_param("mol", "C[N+]1=CN(CCCC)C=C1.O=S([O-])(C(F)(F)F)=O");


However, I failed to make it working on the mavrin space plugin:


mspace_param("molecule","C[N+]1=CN(CCCC)C=C1.O=S([O-])(C(F)(F)F)=O");


I only see the screen swithing between black and gray background with mouse over/click.


When I save the SMILES string as mol file, and call it like this:


mspace_param("molecule","D:/test.mol");


Things works like a charm.


The reason is that I only save the SMILES string into database, and it makes no sense to save it as an individual file for 3D display.


Any thoughts? appreciated.


ChemAxon efa1591b5a

01-04-2010 07:34:20


I confirm that "mol" parameter can process URL and local file paths only, it cannot directly take a SMILES or any other molecule string.


We will implement this feature and make it available in the next release.


You'll be informed when it is ready for download.


 


Hope this helps.


Miklos


ChemAxon eb65a25631

03-01-2014 15:42:27

SMILES strings can be used the following way from js:


document.MSpaceApplet.setMoleculeString( "[H]C(=O)C([H])([H])C([H])([H])C([H])([H])[H]" );