David Leader wrote: >Angel wrote: > > > >>>As regards the bad display, select single motif display and then >>>Catmat: 48,48,50 . Glu 50 is screwed up. >>> >>> >>> >>That looks that an alternate position (Alt) problem; there are e.g. >>[Glu]50:A.CD%A and [Glu]50:A.CD%B, and Jmol is drawing both. >>I have not used Alt locations, but I know it's been dealt with; >>make sure to >>read the doc for that. >> >>Yes! Using the pop-up menu: "Configurations", you have A, B and C; >>check >>"A" and your funny Glu is gone. >> >> > >Ah, that's the problem. But although I confirm that selecting >Configuration A from the pop-up does the trick I cannot for the life >of me get it to work as a script, either in the console or on the >page. I checked > >http://www.stolaf.edu/academics/chemapps/jmol/docs/examples-11/ >altloc.htm > >but "conformation A" does nothing for me. It seems to be 'taking' in >the script, because if I load the page that way, I no longer have >conformation options on the menu. Any idea what I'm doing wrong? The >script was of the type: > >jmolRadio("echo; restrict (81,82,83) AND protein AND NOT >(*.H,*.H?,*.H??, *.H???, *.?H, *.?H?, *.?H??, *.?H???); centre >selected; wireframe 0.3; zoom 5000; select [CU], [ZN]; spacefill; ", >"", ""); > >and I've tried 'conformation A' just anywhere it could go. > >Regarding the jmolSetCheckboxGroup A, Angel replied to my comment: > > > >>>As regards the jmol.js bug, check All Motifs and then uncheck any of >>>the ones below. All remains checked. >>> >>> >>> >>That is so by design, David; quoting the doc: >>"Whenever one of the followers is checked or unchecked, its >>siblings are >>examined; if all have the same state, the leader will be checked or >>unchecked accordingly." >> >>I know that's debatable, but since there is no "grey" state for a >>checkbox, >>one choice or the other must be taken. Bob took this. If you >>uncheck all >>siblings individually, the master wll automatically unckeck. >> >> > >I think the decision was wrong. I would - it was not the one in my >original Master/Slave implementation. If all checkboxes are not >checked, then it seems to me illogical for the 'leader' - entitled >'All' to be checked. It also seems inconsistent with the rest of the >behaviour. >However, I can always restore my Master/Slave version to the latest >version of Jmol.js, or perhaps give up using JmolCheckboxes for >JmolScript (only just discovered it - needed if you want to drive >several scripts from one button) and drive it from my own >external .js file, which would be easier to maintain. > > > configuration 1 display selected
configuration 2 display selected >Thanks again for everyone's forbearance. > >David > > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >Jmol-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

