User:Angel Herraez/Sandbox 11

From Proteopedia

< User:Angel Herraez(Difference between revisions)
Jump to: navigation, search
Current revision (09:53, 11 April 2025) (edit) (undo)
 
(2 intermediate revisions not shown.)
Line 2: Line 2:
<StructureSection load='' size='350' side='right' caption='test for Joel' scene=''>
<StructureSection load='' size='350' side='right' caption='test for Joel' scene=''>
-
Echo works super in Jmol 14.31.8 running offline on my mac.
+
Echo offset works super in Jmol 14.31.8 running offline on my mac.
-
but on Proteopedia it seems NOT work, or I’m doing somehting really wrong
+
but on Proteopedia it seems NOT work.
-
Please look at: https://proteopedia.org/wiki/index.php/Journal:Acta_Cryst_F:S2053230X25002298
+
 
-
the last two lines correspond to a script without echo and with echo
+
-
the lines of echo I’m using are:
+
------------
------------
-
set echo id e232CB {232:A.CB};
+
set echo id e232CB {232:A.CB};
-
set echo e232CB offset {1.5 1.5 1.5};
+
set echo e232CB offset {1.5 1.5 1.5};
-
echo F232;
+
echo F232;
-
color echo black;
+
color echo black;
-
font echo 14 serif bold;
+
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.;
+
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;
------------
------------
-
when I add these line to script without echo in SAT using the console all looks perfect
+
In the state, the offset line is saved like this:
-
but when I save the page
+
set echo ID "e232cb" offset [-1.0,1.5,1.5,1.5,0.0,0.0,0.0];
-
it looses all info about echo and orientation (moved)
+
------------
 +
 
 +
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)
 +
 
 +
The script works in application and in JSmol, when issued from the console or drag-dropped.
-
the full script is attached, the coordinates are already in Proteopedia
+
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>
</StructureSection>
</StructureSection>

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