User:Jaime Prilusky/Test/saveScene: Difference between revisions

Jaime Prilusky (talk | contribs)
No edit summary
Jaime Prilusky (talk | contribs)
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<StructureSection load='' size='340' side='right' caption='' scene='91/918478/1pov_nohet/2'>
<StructureSection load='' size='340' side='right' caption='' >
 
Effect of <scene name='91/918478/Effect_temp/1'>temperature</scene> during crystallization
 
<scene name='91/918478/Structure/4'>caption</scene>
 
Zoom on <scene name='91/918478/1ejg/1'>residue 33</scene>
 
<!-- scene='91/918478/1pov_nohet/4'> -->
*This is the result of dropping the file 1pov-nohet-distance.spt on SAT's Jmol applet, adding slab, and saving the scene.
*This is the result of dropping the file 1pov-nohet-distance.spt on SAT's Jmol applet, adding slab, and saving the scene.


Line 5: Line 13:


* Load molecule <scene name='91/918478/3iyv/2'>3iyv</scene> FILTER *.CA;biomolecule 1;bmchains;/=2; spacefill 120%
* Load molecule <scene name='91/918478/3iyv/2'>3iyv</scene> FILTER *.CA;biomolecule 1;bmchains;/=2; spacefill 120%
<scene name='91/918478/1stp/2'>test 1stp</scene>
inserted the page id of other pages as &lt;!-- /471747/  /351028/ --> to enable editing scenes from those pages
<!--
<!--


   
  /471747/ /963801/


This almost works. Jmol state has two places with 'set defaultLoadFilter': one inside function _setFileState, where it is set to empty, and another in function _setParameterState, where it gets the value we assign from SAT's console. Problem is that when loading a scene, Jmol executes _setFileState (loads the file with an empty loadFilter) and then _setParameterState, where the defaultLoadFilter has no effect.
This almost works. Jmol state has two places with 'set defaultLoadFilter': one inside function _setFileState, where it is set to empty, and another in function _setParameterState, where it gets the value we assign from SAT's console. Problem is that when loading a scene, Jmol executes _setFileState (loads the file with an empty loadFilter) and then _setParameterState, where the defaultLoadFilter has no effect.