Found it. Thanks. There is an unfortunate nuance to this in that

*select chain=a*
selects a different thing if "a" is defined as a variable or not. I just
realized that goes back to at least 11.8, so we will just leave it this way.

$ load =1d66
TRANSCRIPTION/DNA                       06-MAR-92   1D66
DNA RECOGNITION BY GAL4: STRUCTURE OF A PROTEIN/DNA COMPLEX
found biomolecule 1: D, E, A, B

$ select chain=a
483 atoms selected

$ select chain=d
400 atoms selected

$ a="X"
$ select chain=a
0 atoms selected

$ a="D"
$ select chain=a
400 atoms selected

$ reset a
$ select chain=a
483 atoms selected

To avoid this sort of surprise, use quotes with string-type comparisons.

$ a="D"
$ select chain='a'  // no substitution
483 atoms selected


Bob



On Sun, Apr 27, 2014 at 3:40 PM, Eric Martz <[email protected]>wrote:

> Dear Bob,
>
> It appears to me that in 14.1.14, selecting chain=a (or any other
> chain name present in the model) always selects zero atoms. Still
> working is "select :a".
>
> "select chain=a" works in 14.0.4.
>
> Regards, Eric
>
>
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to