Eric, I just realized that also you can just add ".all" to your property,
and it will guarantee an array:
$ load =1utb # one water oxygen is marked altloc A
$ print {altloc!=''}.altloc.ALL.sort
A
$ print {altloc!=''}.altloc.all.pivot
{
"A" : 1
}
This is consistent with how .all is used to get an array of values, not
just an average, for numerical data. I will get that into the documentation.
Bob
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department 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
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users