User 34df8f131d
15-10-2013 14:10:05
Hello,
I'm trying to scale a markush structure in a Marvin Applet and it seems that it zooms automatically on the scaffold ignoring the r-groups. So we need to unzoom to see the complete markush structure. We try to use the scale, autoscale, maxscale parameters without any success. Do you have somme suggestions ? Are we doing something wrong ?
Here is the javascript code :
<script type="text/javascript">
msketch_name="MolEditor";
msketch_begin(&JCHEM_PATH., 500, 500);
msketch_param("licenseFile",&JCHEM_LICENCE.);
msketch_param("queryAtoms","any,hetero,list,notlist,Rgroup");
msketch_param("codebase_lookup","false");
msketch_param("scale",18);
msketch_param("splashScreenImage", &JCHEM_SPLASH. );
msketch_end();
</script>
<script type="text/javascript">
var vMolfile = $v('P2048_SMILES'); // The variable containing the structure
document.MolEditor.setMol(vMolfile);
</script>
Here is the structure to wholy display :
- N1c2ccc(
- )cc2C(=NCC1=O)c1ccccc1
|$_R1;;;;;;_R2;;;;;;;;;;;;;$,c:10,RG:_R1={CCCCC* |$;;;;;_AP1$|},{C*
|$;_AP1$|},_R2={*OC=O |$_AP1;;;$|},{Cl* |$;_AP1$|},{Br* |$;_AP1$|},{F*
|$;_AP1$|}|
We're looking forward reading you soon. Best regards