User:Angel Herraez/Sandbox 11

From Proteopedia

< User:Angel Herraez(Difference between revisions)
Jump to: navigation, search
(New page: ==Your Heading Here (maybe something like 'Structure')== ==Your Heading Here (maybe something like 'Structure')== <StructureSection load='1stp' size='340' side='right' caption='Caption fo...)
Current revision (09:53, 11 April 2025) (edit) (undo)
 
(7 intermediate revisions not shown.)
Line 1: Line 1:
==Your Heading Here (maybe something like 'Structure')==
==Your Heading Here (maybe something like 'Structure')==
 +
<StructureSection load='' size='350' side='right' caption='test for Joel' scene=''>
-
==Your Heading Here (maybe something like 'Structure')==
+
Echo offset works super in Jmol 14.31.8 running offline on my mac.
-
<StructureSection load='1stp' size='340' side='right' caption='Caption for this structure' scene=''>
+
but on Proteopedia it seems NOT work.
-
This is a default text for your page '''Angel Herraez/blabla'''. Click above on '''edit this page''' to modify. Be careful with the &lt; and &gt; signs.
+
-
You may include any references to papers as in: the use of JSmol in Proteopedia <ref>DOI 10.1002/ijch.201300024</ref> or to the article describing Jmol <ref>PMID:21638687</ref> to the rescue.
+
-
== Function ==
 
-
== Disease ==
+
------------
 +
set echo id e232CB {232:A.CB};
 +
set echo e232CB offset {1.5 1.5 1.5};
 +
echo F232;
 +
color echo black;
 +
font echo 14 serif bold;
 +
moveto 1.0 { -332 -779 532 160.16} 260.69 -7.22 28.34 {-24.587502 -13.0755 -28.055} 43.375126 {0 0 0} 0 0 0 3 0 0;
 +
------------
 +
In the state, the offset line is saved like this:
 +
set echo ID "e232cb" offset [-1.0,1.5,1.5,1.5,0.0,0.0,0.0];
 +
------------
-
== Relevance ==
+
when I add these lines to script without echo in SAT using the console all looks perfect
 +
but when I save the page it looses all info about echo and orientation (moved)
-
== Structural highlights ==
+
The script works in application and in JSmol, when issued from the console or drag-dropped.
 +
 
 +
But not when the scene is saved. JSmol chokes at the square bracket of the offset line. Same conmand works fine from JSmol console.
 +
 
 +
<scene name='82/824596/Test_joel_1/1'>Script entered in console then saved to scene</scene>
 +
 
 +
<scene name='82/824596/Test_joel_2/1'>Script entered in console then saved to scene (11 Apr)</scene>
-
This is a sample scene created with SAT to <scene name="/12/3456/Sample/1">color</scene> by Group, and another to make <scene name="/12/3456/Sample/2">a transparent representation</scene> of the protein. You can make your own scenes on SAT starting from scratch or loading and editing one of these sample scenes.
 
</StructureSection>
</StructureSection>
-
== References ==
 
-
<references/>
 

Current revision

Your Heading Here (maybe something like 'Structure')

test for Joel

Drag the structure with the mouse to rotate

Proteopedia Page Contributors and Editors (what is this?)

Angel Herraez

Personal tools