Help:Copying FirstGlance Scenes into Proteopedia
From Proteopedia
(Difference between revisions)
Line 16: | Line 16: | ||
3. Right-click (Mac: Ctrl-click) on or near the molecule to open JSmol's menu. Select '''File''', '''Save script with state'''. A dialog will appear in which you can choose the location on your computer's disk to save the file. Take note of the name of the file and where you are putting it. This file contains a ''state script'' of JSmol commands that will produce your scene. | 3. Right-click (Mac: Ctrl-click) on or near the molecule to open JSmol's menu. Select '''File''', '''Save script with state'''. A dialog will appear in which you can choose the location on your computer's disk to save the file. Take note of the name of the file and where you are putting it. This file contains a ''state script'' of JSmol commands that will produce your scene. | ||
- | 4. ''' | + | 4. '''Delete the load command.''' Edit the state script file with a [[Help:Plain text editors|plain text editor]]. Before you use the state script, you must the entire command at the end of the 3rd block of commands, and then save the file with that change. Delete everything shown below in red: the entire command beginning with "load", deleting everything up until the closing bracket "}". |
<blockquote> | <blockquote> | ||
function _setFileState() { | function _setFileState() { | ||
Line 23: | Line 23: | ||
<br> <font color="#808080">... blah blah blah ... </font> | <br> <font color="#808080">... blah blah blah ... </font> | ||
<br> set smartAromatic true; | <br> set smartAromatic true; | ||
- | <br> <font color="red" | + | <br> <font color="red">load /*file*/"<nowiki>http://www.rcsb.org/pdb/cgi/export.cgi/1GPK.pdb.gz</nowiki>"; </font> |
<br><br> | <br><br> | ||
}</blockquote> | }</blockquote> |
Revision as of 00:37, 28 July 2024
FirstGlance in Jmol makes it easy to obtain certain types of molecular scenes more easily than generating those scenes in Proteopedia's Scene Authoring Tools. This page explains how to move those scenes into Proteopedia, attaching them to a green link.
|
Feedback
If you have problems getting this to work, or suggestions to clarify this page, please email
Notes
- ↑ The size of the font for distances in Ångstroms was reduced by opening the "measurements" box under the Labels tab, and selecting size 12.