Hi Jmol users,
I know that I can do:
[jmol scripts]
load pdbfile2; set appendNew true; load APPEND pdbfile1; load APPEND pdbfile3;
protein1 = {model=2.1};
protein2 = {model=1.1};
protein3 = {model=3.1};
[/jmol scripts]
However, what's difficult in my case is to know the model names from the order
in which files are loaded,
and I wonder if there's a way to bypass this. I hope this is clear. Thank you!
- Yingjie
On Jul 6, 2011, at 2:51 PM, Yingjie Lin wrote:
> Let's say I have pdbfile1, pdbfile2, pdbfile3, each contains 1 model. The
> corresponding models
> will be named 1.1 for pdbfile1, 2.1 for pdbfile2 and 3.1 for pdbfile3, if the
> files are loaded in this
> order. So I can later use 1.1, 2.1 and 3.1 to refer to the contents of each
> file.
>
> However, in my case, I am not sure how many files, and in what order, I will
> load into Jmol. Therefore
> I don't know how to refer to the contents of different files. Is there a way
> to assign the contents
> of a file immediately after loading? Maybe something like the following:
>
> [jmol scripts]
> protein2 = load("mypath2/mifile2")
> protein1 = loadAppend("mypath1/mifile1")
> protein3 = loadAppend("mypath3/mifile3")
> [/jmol scripts]
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users