[Proteopedia] Arbitrary scripts vs. state scripts

Eric Martz emartz at microbio.umass.edu
Wed Feb 4 13:17:55 EST 2009


Re the thread: Script compiler error

I'd like to remind everyone that there is already a mechanism with 
which you can send any arbitrary script to Jmol in Proteopedia. The 
minor disadvantage (?) is that it uses a button instead of a green 
link. I have used this mechanism in the "Toggle Animation" buttons at
http://proteopedia.org/wiki/index.php/Lac_repressor

Because toggling animation was something I needed at multiple places 
in this article, and expect to use in other articles, I did it in a Template:
http://proteopedia.org/wiki/index.php/Template:Button_Toggle_Animation
but for a one-off script, it could equally well be literally embedded 
in the page wiki text.

This mechanism could be used to load a saved surface data file, which 
would provide a solution to Karl's problem that does not require 
intervention from Eran or Jaim, the sys admins.

It is also possible to have a button that changes its text label, 
e.g. shows [ ] vs. [x] when clicked. An example is here:
http://proteopedia.org/wiki/index.php/User:Eric_Martz/Sandbox_3

So you could have a button "Show Surface" that changes to "Hide 
Surface" when it is clicked, or even goes through an intermediate 3rd 
mode "Transparent Surface".

-Eric


At 1/30/09, lsprilus at weizmann.ac.il wrote:
>According to "Karl Oberholser" <oberhols at messiah.edu>:
> > The upgrade may have solved one problem, but there is still a problem.  The
> > surface is still not displayed when the green link is clicked and the
> > following error is displayed in the Jmol console: io error reading
> > http://proteopedia.org/wiki/scripts/second.spt:
>
>Dear Karl,
>
>Fixed. Somehow the green link was altered and had "name='second'" instead
>of "target='second'" as it is generated by SAT. At the end, your page had
>name= twice on the same link, confusing Proteopedia on what to request from
>the server.
>
>The surface shows up now. Very nice, although it takes so long that your
>warning at the top might not be enough for keeping people on the same page.
>
>Jaim
>--
>  Dr Jaime Prilusky                      | Jaime.Prilusky at weizmann.ac.il
>  Head of Bioinformatics ISPC            |
>  R&D Bioinformatics and Data Management |
>  Weizmann Institute of Science          | fax: 972-8-9344113
>  76100 Rehovot - Israel                 | tel: 972-8-9344959
>
>  OCA, http://oca.weizmann.ac.il (the protein structure/function database)
>  Proteopedia, http://www.proteopedia.org (because life has more than 2D)
>  ------------------------------------------------------------------------
>
>_______________________________________________
>Proteopedialist-for-users mailing list
>Proteopedialist-for-users at bioinformatics.org
>http://www.bioinformatics.org/mailman/listinfo/proteopedialist-for-users

/* - - - - - - - - - - - - - - - - - - - - - - - - - - -
Eric Martz, Professor Emeritus, Dept Microbiology
U Mass, Amherst -- http://Martz.MolviZ.Org

Top Five 3D MolVis Technologies http://Top5.MolviZ.Org
3D Wiki with Scene-Authoring Tools http://Proteopedia.Org
Biochem 3D Education Resources http://MolviZ.org
See 3D Molecules, Install Nothing! - http://firstglance.jmol.org
ConSurf - Find Conserved Patches in Proteins: http://consurf.tau.ac.il
Atlas of Macromolecules: http://atlas.molviz.org
Workshops: http://workshops.molviz.org
World Index of Molecular Visualization Resources: http://molvisindex.org
PDB Lite Macromolecule Finder: http://pdblite.org
Molecular Visualization EMail List (molvis-list): http://list.molviz.org
Protein Explorer - 3D Visualization: http://proteinexplorer.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - */




More information about the Proteopedialist-for-users mailing list