Re: [Jmol-users] Improvement for select sequence range

2008-04-21 Thread Bob Hanson
nevermind. The proposed algorithm is: For each model... For each chain in the model... While not done... Given two sequence+insertion codes A and B... 1) look for (another) A. 2) if A is not found... 2a) find the code numerically closest to it and

Re: [Jmol-users] Improvement for select sequence range

2008-04-21 Thread Bob Hanson
In addition, I note that if there are two blocks of groups having the same group numbers (as in the old 1t0n or 1blu files) in the same chain (in my observation, protein and water), then the first matching range (the protein) is selected. Bob Bob Hanson wrote: >I have committed this for testi

Re: [Jmol-users] Improvement for select sequence range

2008-04-21 Thread Bob Hanson
I have committed this for testing as 11.5.31_dev. It turns out the original rewrite of the sequence range code was done by Miguel in Sept/2005 in response to a request by Rolf relating to a strange PDB file (1t0n) that had duplicate numbering and no chain designations. As far as I can see, that

Re: [Jmol-users] Improvement for select sequence range

2008-04-21 Thread Bob Hanson
OK, upon rereading this thread, especially Rolf's earliest post, and thinking more about what SELECT a-b should mean, and what insertions are, and all that, I do agree that the first solution I had in mind and put into 11.5.30 is not a good idea. What if we just went with Eric's initial idea, b

Re: [Jmol-users] Improvement for select sequence range

2008-04-21 Thread Bob Hanson
Rolf, first, these are just development versions (11.5.x), so we can undo anything. I did see your suggestion, but I don't think it is really workable. You can't have an algorithm that sometimes does one thing and sometimes another in such an unpredictable fashion. (And, remember, this is chain

Re: [Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Angel Herraez
> Hi Frieda, I'm not sure what the IP address of that website is, does > anyone know how to get an IP address from a domain name? Maybe: http://www.dnswatch.info/ - This SF.net email is sponsored by the 2008 JavaOne(SM) C

Re: [Jmol-users] Improvement for select sequence range

2008-04-21 Thread Rolf Huehne
Bob Hanson wrote: > Better idea -- this is in Jmol 11.5.30 unless I hear complaints. > > PROPOSED JMOL DEFAULT CHANGE > > - > set sequenceRangePhysical (default FALSE) > > NOTE: The default FALSE behavior for this setting is a change from > pr

Re: [Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Rolf Huehne
Eran Hodis wrote: > Hi Frieda, > I'm not sure what the IP address of that website is, does anyone know how to > get an IP address from a domain name? > > http://remote.12dt.com/ allows you to do a reverse DNS lookup which you can > also do on a Mac terminal by doing "nslookup" followed by a space

Re: [Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Eran Hodis
Hi Frieda, I'm not sure what the IP address of that website is, does anyone know how to get an IP address from a domain name? http://remote.12dt.com/ allows you to do a reverse DNS lookup which you can also do on a Mac terminal by doing "nslookup" followed by a space and then the IP address. Bes

Re: [Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Frieda Reichsman
Hi Eran - I thought this sounded a lot like the problem that you folks are having. Thank you for confirming the domain name aspect of it. Question - So, i assume there is no problem as long as the DNS reverse lookup IP address resolves to the domain name of the URL-- for example, published

Re: [Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Eran Hodis
Hi Frieda, This is a issue we are dealing with in Proteopedia as well. The combination of Firefox version 2 and Java version 1.6.0_03+ (latest stable release is 1.6.0_05) is more sensitive to security issues. When I do a reverse DNS lookup on the IP address you gave (64.95.78.91) I get permacult

Re: [Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Frieda Reichsman
CORRECTION - the pdb file does not load into the applet when all files are placed into the same directory. SO the breakage is even worse in this case. script ERROR: java.security.AccessControlException: access denied (java.net.SocketPermission 64.95.78.91:80 connect,resolve) Sent pre

Re: [Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Frieda Reichsman
Placing all the files in the same directory (and changing all the file calls) still results in a security error when a script is called by a button: script ERROR: java.security.AccessControlException: access denied (java.net.SocketPermission 64.95.78.91:80 connect,resolve) /

Re: [Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Frieda Reichsman
There is no change in the button behavior, nor any discernible change in FF. On Apr 21, 2008, at 8:15 AM, Bob Hanson wrote: > what happens when you go to that page and then plug this into the URL > address line? > > javascript:void(jmolScript('script "3d/sidechains.spt"')) > > ? > > > Frieda R

Re: [Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Bob Hanson
what happens when you go to that page and then plug this into the URL address line? javascript:void(jmolScript('script "3d/sidechains.spt"')) ? Frieda Reichsman wrote: >I should have mentioned more about the problem - the Jmol loads just >fine on the page and responds to the mouse, but the

[Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Frieda Reichsman
I should have mentioned more about the problem - the Jmol loads just fine on the page and responds to the mouse, but the problem occurs when a script is called from a radio button, checkbox, etc. (Buttons that do not call scripts work fine.) Frieda // Fr

[Jmol-users] Jmol error in Firefox/Windows only

2008-04-21 Thread Frieda Reichsman
Hi, I have a figure that is working in Firefox on Mac but broken in FF/Win Vista. It works fine in Mac/Safari and Win/Internet Explorer. The error message in the Java console is as follows: script ERROR: java.security.AccessControlException: access denied (java.net.SocketPermission 64.95.78.