Thanks very much Rolf and Bob -- Your suggestions have done the trick!
Bob: Yes, I agree: the first thing I looked for was a construct such as "and
chain='A'", but found that it is not an option. Obviously, I have a
tendency to overcomplicate things & your concise suggestions are very
educational for me....
I think I don't entirely understand the use of parentheses "()" and brackets
"{}" .....(when needed, when not)
Many, many thanks for your continued willingness to help!
-Tom
On Tue, Aug 5, 2008 at 9:20 AM, Rolf Huehne <[EMAIL PROTECTED]> wrote:
> Thomas Stout wrote:
> > Has anyone ever made selections using more than one variable
> > simultaneously? I'm referring to something like:
> >
> >
> > select {((resno=xres) and :{x[i]} )}; // this is meant to make a
> > selection based on separate algorithmic
> > // identifications
> of
> > desired residue number and chain....
> >
> > I've tried several different implementations of this:
> >
> > //within for loop
> > ChX = x[i];
> > select {(resno=xres) and :[EMAIL PROTECTED];
> >
> > and
> >
> > //within for loop
> > selection_expression = "*:"+x[i];
> > select {(resno=xres) and [EMAIL PROTECTED];
> >
>
> This last version works for me with Jmol 11.5.35. Although I havn't used
> a loop but replaced 'x[i]' by ChX (the outer braces made no difference
> so I removed them):
>
> ChX="R"
> sel="*:"+ChX
> select (resno=xres) and (@sel)
>
> When I observe freezing of the display while for example the console
> still responds, there usually was thrown some exception. Have you looked
> at the Java console for error messages?
>
> Regards,
> Rolf
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users