Hi,

I like the .jmol file which contain everything to display a model and added 
data in a certain state. It is a quick and easy way to share some findings in a 
model with colleagues. And it is obviously more powerful then an image because 
it allows manipulation with all of Jmol's powers. However it allows just one 
state. Often there are multiple interesting things in a model and I like to 
include some jmol script functions to change the orientation, zoom in, etc. or 
just define multiple sets of interesting amino acids. A recent change excludes 
user defined functions and atom selections from the state [1]. As far as I 
understand it the Jmol 'state' is mainly to reproduce the visual state and 
looking more for a way to reproduce something like a working environment or 
session. I know that I could just have an extra script file which manage myself 
in addition to the .jmol file, but I would rather have a single file created in 
one step.

So, my question is: Is there another way to include user-defined functions and 
variables in .jmol files or/and the state?

Best
Alexander


[1]

#version=12.1.16  
# bug fix: naming functions or variables after Jmol token names fails or acts 
unexpectedly 
# (fixing this bug required script compiler changes, and that lead to the # two 
new features below) 
# 
# bug fix: User variables and functions removed from state because they are 
# no longer necessary and also indeterminant in terms of the "state". 
# Originally these were needed because ECHO and DEFINE can be dynamic 
# -- which is still true -- and because certain commands such as ISOSURFACE 
# were being saved in the state just as their strings instead of their 
# intepreted code. But that was changed for 12.0, and this fix also changes 
# ECHO to be saved in its current state, not its dynamic state. While  
# dynamic DEFINE types may include variables, they aren't really 
# part of the "state" per se and aren't needed to recreate the state. So 
# they are dropped from the state with this fix as well.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to