Re: [Jmol-users] JmolSQL update

2015-10-04 Thread Robert Hanson
maybe that version is one behind this fix. snpInfo = {"rs1229984": [resno: 48, from: "R", to: "H"], "rs1041969": [resno: 57, from: "N", to: "K"] }; print "=== Case 1 ==

Re: [Jmol-users] JmolSQL update

2015-10-02 Thread Rolf Huehne
On 10/01/2015 06:12 AM, Robert Hanson wrote: > Then map.array("id") is perfect for you. It turns that map into an actual > array (temporarily), and you can then use WHERE and WHEREIN on that next > level of maps. After you do that, using array("id") again returns your > top-level map. The result wa

Re: [Jmol-users] JmolSQL update

2015-09-30 Thread Robert Hanson
On Wed, Sep 30, 2015 at 7:38 AM, Rolf Huehne wrote: > On 09/29/2015 10:08 PM, Robert Hanson wrote: > > I have an idea. Let's call the "associative array" a "map" just so we > > don't have so many "array" words. > > > I would rather prefer "hash" because the term is used for it in other > language

Re: [Jmol-users] JmolSQL update

2015-09-30 Thread Rolf Huehne
On 09/29/2015 10:08 PM, Robert Hanson wrote: > I have an idea. Let's call the "associative array" a "map" just so we > don't have so many "array" words. > I would rather prefer "hash" because the term is used for it in other languages like Perl and I am used to it. I used "associative array" to a

Re: [Jmol-users] JmolSQL update

2015-09-29 Thread Robert Hanson
I have an idea. Let's call the "associative array" a "map" just so we don't have so many "array" words. On Tue, Sep 29, 2015 at 12:44 PM, Rolf Huehne wrote: > On 09/28/2015 06:46 PM, Robert Hanson wrote: > Implemented are now the following combinations (among others), if I > understood it correc

Re: [Jmol-users] JmolSQL update

2015-09-29 Thread Rolf Huehne
On 09/28/2015 06:46 PM, Robert Hanson wrote: > //Thank you, Rolf, for working on the .select() business. /After taking > a close look at it, I decided the select() function was getting too > cryptic, and I agree that there were some inconsistencies there. What is > given below is much simpler. This

[Jmol-users] JmolSQL update

2015-09-28 Thread Robert Hanson
*Thank you, Rolf, for working on the .select() business. After taking a close look at it, I decided the select() function was getting too cryptic, and I agree that there were some inconsistencies there. What is given below is much simpler. This long email message summarizes the JmolSQL business, st