User:Wayne Decatur/Sandbox TestCompareinScriptAuthoring: Difference between revisions
From Proteopedia
Jump to navigationJump to search
mNo edit summary |
m closer now |
||
| Line 1: | Line 1: | ||
<Structure load='3cb4' size='600' frame='true' align='right' caption='test compare' scene='LepA/Lepaefgbothh/1' /> | <Structure load='3cb4' size='600' frame='true' align='right' caption='test compare' scene='LepA/Lepaefgbothh/1' /> | ||
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 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 inclde 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; | ||
| Line 27: | Line 29: | ||
</jmol> | </jmol> | ||
<br> | <br> | ||
Compare runs but page locks up in Firefox and Chrome. Cannot rotate aligned structures or do anything. | |||
<br> | <br> | ||
The code is below: <br> | |||
The code is below: | |||
<pre> | <pre> | ||
define domain1model1 94-139:a and model=1.1; | define domain1model1 94-139:a and model=1.1; | ||
| Line 51: | Line 49: | ||
rotate COMPARE {1.1} @origcoord -2.5; | rotate COMPARE {1.1} @origcoord -2.5; | ||
</pre> | </pre> | ||