User:Eric Martz/Sandbox 4: Difference between revisions
Eric Martz (talk | contribs) No edit summary |
Eric Martz (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
The load command in the script loads a "frozen" uploaded PDB file [[Image:1sva-revdat2009.pdb.gz]]. | The load command in the script loads a "frozen" uploaded PDB file [[Image:1sva-revdat2009.pdb.gz]]. | ||
When that command is run in the Proteopedia JSmol console, the virus capsid loads correctly. | When that command is run in the Proteopedia JSmol console, the virus capsid loads correctly. | ||
Here is an extremely simplified script: | |||
<pre> | |||
set autobond false; | |||
load "https://proteopedia.org/wiki/images/2/29/1sva-revdat2009.pdb.gz" FILTER "*.CA;biomolecule 1;bmchains;/=5"; | |||
spacefill 4.0; | |||
color chain; | |||
</pre> | |||
When it is run in the JSmol console, the capsid loads, but the spacefill and color commands do not execute. I don't know why they fail. | |||
Revision as of 00:53, 25 July 2022
This green link is a <jmolLink> that directly loads an uploaded script. When the script is dropped into Jmol.jar 14.31.8 (current main version in Proteopedia) it works (3 unrecognized but harmless set commands) even though the script was written from JSmol 14.32.64. When this green link is clicked, an error is reported in the JSmol Javascript Console. I do not understand what causes this error.
The load command in the script loads a "frozen" uploaded PDB file File:1sva-revdat2009.pdb.gz. When that command is run in the Proteopedia JSmol console, the virus capsid loads correctly. Here is an extremely simplified script: set autobond false; load "https://proteopedia.org/wiki/images/2/29/1sva-revdat2009.pdb.gz" FILTER "*.CA;biomolecule 1;bmchains;/=5"; spacefill 4.0; color chain; When it is run in the JSmol console, the capsid loads, but the spacefill and color commands do not execute. I don't know why they fail.
|
|