Inlined MDL Molfile
From Jmol
Jump to navigation
Jump to search
Inlined MDL Molfile
This uses inlineContents
tag with MOL-formatted data:
![]() Jmol._Canvas2D (Jmol) "JSmol_1"[x] script 1 started pdbGetHeader = true loadScript /extensions/Jmol/j2s/core/coretext.z.js JSmol exec JSmol_2 start applet null Jmol JavaScript applet JSmol_2__4821816301611546__ initializing Jmol getValue debug null Jmol getValue logLevel null Jmol getValue allowjavascript null AppletRegistry.checkIn(JSmol_2__4821816301611546__) vwrOptions: { "name":"JSmol_2","applet":true,"documentBase":"http://wiki.jmol.org./index.php/Inlined_MDL_Molfile","platform":"J.awtjs2d.Platform","fullName":"JSmol_2__4821816301611546__","codePath":"http:/extensions/Jmol/j2s/","display":"JSmol_2_canvas2d","signedApplet":"true","appletReadyCallback":"Jmol._readyCallback","statusListener":"[J.appletjs.Jmol object]","syncId":"4821816301611546","bgcolor":"bluetint" } setting document base to "http://wiki.jmol.org./index.php/Inlined_MDL_Molfile" (C) 2015 Jmol Development Jmol Version: 14.29.32 2019-01-29 14:30 java.vendor: Java2Script (HTML5) java.version: 2018-01-28 23:38:52 (JSmol/j2s) os.name: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) Access: ALL memory: 0.0/0.0 processors available: 1 useCommandThread: false appletId:JSmol_2 (signed) Jmol getValue emulate null defaults = "Jmol" Jmol getValue boxbgcolor null Jmol getValue bgcolor bluetint backgroundColor = "bluetint" Jmol getValue ANIMFRAMECallback null Jmol getValue APPLETREADYCallback Jmol._readyCallback APPLETREADYCallback = "Jmol._readyCallback" callback set for APPLETREADYCallback Jmol._readyCallback APPLETREADY Jmol getValue ATOMMOVEDCallback null Jmol getValue AUDIOCallback null Jmol getValue CLICKCallback null Jmol getValue DRAGDROPCallback null Jmol getValue ECHOCallback null Jmol getValue ERRORCallback null Jmol getValue EVALCallback null Jmol getValue HOVERCallback null Jmol getValue IMAGECallback null Jmol getValue LOADSTRUCTCallback null Jmol getValue MEASURECallback null Jmol getValue MESSAGECallback null Jmol getValue MINIMIZATIONCallback null Jmol getValue SERVICECallback null Jmol getValue PICKCallback null Jmol getValue RESIZECallback null Jmol getValue SCRIPTCallback null Jmol getValue SYNCCallback null Jmol getValue STRUCTUREMODIFIEDCallback null Jmol getValue doTranslate null language=en_US Jmol getValue popupMenu null Jmol getValue script null Jmol getValue loadInline null Jmol getValue load null Jmol applet JSmol_2__4821816301611546__ ready |
(The MOL data above have normal line breaks.)
It can also be done with MOL data that has no newlines but has pipe characters instead:
![]() Jmol._Canvas2D (Jmol) "JSmol_2"[x] loadScript /extensions/Jmol/j2s/core/package.js loadScript /extensions/Jmol/j2s/core/corejmol.z.js loadScript /extensions/Jmol/j2s/J/translation/PO.js loadScript /extensions/Jmol/j2s/core/corescript.z.js JSmol exec JSmol_1 start applet null Jmol JavaScript applet JSmol_1__4821816301611546__ initializing Jmol getValue debug null Jmol getValue logLevel null Jmol getValue allowjavascript null AppletRegistry.checkIn(JSmol_1__4821816301611546__) vwrOptions: { "name":"JSmol_1","applet":true,"documentBase":"http://wiki.jmol.org./index.php/Inlined_MDL_Molfile","platform":"J.awtjs2d.Platform","fullName":"JSmol_1__4821816301611546__","codePath":"http:/extensions/Jmol/j2s/","display":"JSmol_1_canvas2d","signedApplet":"true","appletReadyCallback":"Jmol._readyCallback","statusListener":"[J.appletjs.Jmol object]","syncId":"4821816301611546","bgcolor":"green" } setting document base to "http://wiki.jmol.org./index.php/Inlined_MDL_Molfile" (C) 2015 Jmol Development Jmol Version: 14.29.32 2019-01-29 14:30 java.vendor: Java2Script (HTML5) java.version: 2018-01-28 23:38:52 (JSmol/j2s) os.name: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) Access: ALL memory: 0.0/0.0 processors available: 1 useCommandThread: false appletId:JSmol_1 (signed) Jmol getValue emulate null defaults = "Jmol" Jmol getValue boxbgcolor null Jmol getValue bgcolor green backgroundColor = "green" Jmol getValue ANIMFRAMECallback null Jmol getValue APPLETREADYCallback Jmol._readyCallback APPLETREADYCallback = "Jmol._readyCallback" callback set for APPLETREADYCallback Jmol._readyCallback APPLETREADY Jmol getValue ATOMMOVEDCallback null Jmol getValue AUDIOCallback null Jmol getValue CLICKCallback null Jmol getValue DRAGDROPCallback null Jmol getValue ECHOCallback null Jmol getValue ERRORCallback null Jmol getValue EVALCallback null Jmol getValue HOVERCallback null Jmol getValue IMAGECallback null Jmol getValue LOADSTRUCTCallback null Jmol getValue MEASURECallback null Jmol getValue MESSAGECallback null Jmol getValue MINIMIZATIONCallback null Jmol getValue SERVICECallback null Jmol getValue PICKCallback null Jmol getValue RESIZECallback null Jmol getValue SCRIPTCallback null Jmol getValue SYNCCallback null Jmol getValue STRUCTUREMODIFIEDCallback null Jmol getValue doTranslate null language=en_US Jmol getValue popupMenu null Jmol getValue script null Jmol getValue loadInline null Jmol getValue load null Jmol applet JSmol_1__4821816301611546__ ready script 1 started pdbGetHeader = true Loading...|Please wait. Loading...|Please wait. platformSpeed = 5 loadScript /extensions/Jmol/j2s/core/corescriptcmd.z.js The Resolver thinks Mol chair.mol Conformational analysis 0 chair.mol reading 18 atoms ModelSet: haveSymmetry:false haveUnitcells:false haveFractionalCoord:false 1 model in this collection. Use getProperty "modelInfo" or getProperty "auxiliaryInfo" to inspect them. Default Van der Waals type for model set to Babel 18 atoms created ModelSet: not autobonding; use forceAutobond=true to force automatic bond creation Time for creating model: 7 ms loadScript /extensions/Jmol/j2s/JV/DataManager.js loadScript /extensions/Jmol/j2s/J/api/JmolDataManager.js chair.mol Script completed Jmol script terminated platformSpeed = 5 The Resolver thinks Mol chair.mol Conformational analysis 0 chair.mol reading 18 atoms ModelSet: haveSymmetry:false haveUnitcells:false haveFractionalCoord:false 1 model in this collection. Use getProperty "modelInfo" or getProperty "auxiliaryInfo" to inspect them. Default Van der Waals type for model set to Babel 18 atoms created ModelSet: not autobonding; use forceAutobond=true to force automatic bond creation Time for creating model: 2 ms chair.mol Script completed Jmol script terminated |
Contributors
Retrieved from "https://wiki.jmol.org/index.php?title=Inlined_MDL_Molfile&oldid=6618"