User:Wayne Decatur/Sandbox TestCompareinScriptAuthoring: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Wayne Decatur (talk | contribs)
mNo edit summary
Wayne Decatur (talk | contribs)
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<Structure load='3cb4' size='600' frame='true' align='right' caption='test compare' scene='3cb4/Nextto/8' />
<Structure load='3cb4' size='600' frame='true' align='right' caption='test compare' scene='LepA/Lepaefgbothh/1' />
First attempts to run compare and save resulting compared version as a Protopedioa scene using Scene Authoring Tools. From 3cb4, loaded 'nextto scene, version8' and entered compare command in console:
New attempts after new Jmol version AND STARTING WITH CLEAN, NEW MULTI-MODEL SCENE to run compare and save resulting compared version as a Protopedioa scene using Scene Authoring Tools. On LepA page, loaded 'LepA/Lepaefgbothh/1' scene and entered compare command in console:
Result of test:<br>
Result of test:<br>
IT NEVER ROTATED AND TRANSLATED IN SCENE AUTHORING TOOL WINDOW, although it reported the rmsd. <br> The same script works great pasted into the console of a popup from the scene authoring window. Script tested:
It reported the rmsd and superimposed. However, the the page locked up and I couldn't save the scene.<br> The same script works great pasted into the console of a popup from the scene authoring window. Scripts tested include below and one built into this page, both failed:
model all;
model all;
compare {1.1} {1.2} ROTATE TRANSLATE;
compare {1.1} {1.2} ROTATE TRANSLATE;
'''UPDATE: FAKE GREEN SCENE LINK BELOW SEEMS TO NOW WORK WITH NEW JMOL IN PROTEOPEDIA. HOORAY!!!'''




Line 27: Line 29:
</jmol>
</jmol>
<br>
<br>
ABOVE FAILS?!?!
Compare runs and doesn't lock up using the development version [http://proteopedia.org/wiki/index.php/User:Wayne_Decatur/Sandbox_TestCompareinScriptAuthoring?JMOLJAR=http://chemapps.stolaf.edu/jmol/docs/examples-12/JmolAppletSigned.jar here]
<br>
<br>
But it actually should work in Jmol.<br>
The code is below:  <br>
To verify that, you can even see it work in a pop-up Proteoepdia generates. <br>
To see for yourself:<br>
Click on the pop-up below the Jmol window to open the two models in a pop-up window, and thn paste the code used for the script that the button (green text) should trigger into the Jmol Console and it works moving the models to superimpose and reports "RMSD 3.64 --> 3.54 Angstroms".
The code is below:  (Unortunately it runs off to the right so make sure you grab it all.<br>
<pre>
<pre>
define domain1model1 94-139:a and model=1.1;
define domain1model1 94-139:a and model=1.1;