User:Eric Martz/Sandbox 4: Difference between revisions
Jump to navigation
Jump to search
Eric Martz (talk | contribs) No edit summary |
Eric Martz (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
This green link is a <jmolLink> that directly loads an uploaded script (a modified state script). | This green link is a <jmolLink> that directly loads an uploaded script (a modified state 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 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. | ||
<jmol> | <jmol> | ||
Line 10: | Line 8: | ||
<script> | <script> | ||
script /wiki/images/2/21/1sva-half-capsid-distance.spt; | script /wiki/images/2/21/1sva-half-capsid-distance.spt; | ||
rotate y 90; | |||
spin on; | spin on; | ||
</script> | </script> | ||
Line 17: | Line 16: | ||
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]]. | ||
Here is an extremely simplified script: | Here is an extremely simplified script: | ||
Line 29: | Line 27: | ||
However, when a .spt file containing those commands is dropped into JSmol, the capsid loads, but the spacefill and color commands do not execute. I don't know why they fail. | However, when a .spt file containing those commands is dropped into JSmol, the capsid loads, but the spacefill and color commands do not execute. I don't know why they fail. | ||
</StructureSection> | </StructureSection> |
Revision as of 21:28, 25 July 2022
This green link is a <jmolLink> that directly loads an uploaded script (a modified state 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.
The load command in the script loads a "frozen" uploaded PDB file File:1sva-revdat2009.pdb.gz. 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 the above 4 commands are copied and pasted into the JSmol console and run, they work. However, when a .spt file containing those commands is dropped into JSmol, the capsid loads, but the spacefill and color commands do not execute. I don't know why they fail.
|
|