User:Eric Martz/Sandbox 4: Difference between revisions
Eric Martz (talk | contribs) No edit summary |
Eric Martz (talk | contribs) No edit summary |
||
Line 42: | Line 42: | ||
--> | --> | ||
==Saved | ==Saved Scenes== | ||
FAILS BECAUSE CAPTION CONTAINS SEMICOLON: | FAILS BECAUSE CAPTION CONTAINS SEMICOLON: | ||
<scene name='85/859610/Half_capsid_spt_minus_props/1'>Half Capsid by Script</scene>: Scene created by dropping half-capsid-nodata.spt into JSmol after first loading 1sva. State script load command modified to | <scene name='85/859610/Half_capsid_spt_minus_props/1'>Half Capsid by Script</scene>: Scene created by dropping half-capsid-nodata.spt into JSmol after first loading 1sva. State script load command modified to | ||
load "" FILTER "*.CA;biomolecule 1;bmchains;/=5"; and function _setDataState() made an empty function {} (previously it assigned distances from center to each of ~25,000 alpha carbons). | load "" FILTER "*.CA;biomolecule 1;bmchains;/=5"; and function _setDataState() made an empty function {} (previously it assigned distances from center to each of ~25,000 alpha carbons). | ||
<scene name='85/859610/1ijw/1'>Scene of 1ijw with test caption</scene>. | |||
</StructureSection> | </StructureSection> |
Revision as of 22:53, 25 July 2022
Running State ScriptThis 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. JSmol VersionThe state script was generated by JSmol 14.32.64. The load command in the script includes FILTER "*.CA;biomolecule 1;bmchains;/=5". Filters "*.CA;biomolecule 1;" and "/=5" work in JSmol 14.31.8. Filter "bmchains" is ignored, so all copies of chain "1" are also named "1". This does not matter. As long as the atomindex values generated in 14.31.8 match those generated in 14.32.64, the script works.
Saved ScenesFAILS BECAUSE CAPTION CONTAINS SEMICOLON: : Scene created by dropping half-capsid-nodata.spt into JSmol after first loading 1sva. State script load command modified to load "" FILTER "*.CA;biomolecule 1;bmchains;/=5"; and function _setDataState() made an empty function {} (previously it assigned distances from center to each of ~25,000 alpha carbons).
.
|
|