Thanks Paul, Actually I do have a map button. But I'd rather write something in a script somewhere once than click the button and confirm the click EVERY time I start the program!
Hmmm, I had tried the (set-imol-refinement-map 1) in my .coot but obviously the problem was the map did not yet exist. So close! A monkey in the wrench... but it works beautifully if I put the (set-imol-refinement-map 1) into a coot_refinement_map.scm file and then my script adds the "--script coot_refinement_map.scm" option to the command line launching the program (at the end, I guess, to be sure the map is already loaded by then). A small thing, but it felt time to get it right! Much gratitude (especially after building up a few new proteins and feeling that tangible time savings from coot's nice tools and keyboard shortcuts!), Seth On Mon, May 10, 2010 at 3:23 PM, Paul Emsley <[email protected]>wrote: > Seth Harris wrote: > >> Hello, >> >> After what felt like a reasonable amount of poking about, I can't find how >> to set the refinement map (yes, I tried 'set-refinement-map') although I did >> find that "guess-refinement-map" returns a good guess but doesn't seem to >> stop the "Oops! Must Select Map to fit to!" box from bothering me. >> > > Wow. It now strikes me that this is a pain if you don't have a "Map" > button - which I guess you don't. Which makes me think that you are using > the gtk1 version. OK, time for that to die out. > > > (It could at least open the map selection dialog like what happens when >> you do Validate > Check/Delete waters without first specifying a map.) Seems >> a bit perverse to be able to determine I very likely want to refine against >> map 1, but not to actually set it for me. I am usually launching coot from a >> script-generated command, so my maps are always in the same order and I can >> reliably set the refinement map to imol #1, so I'd like to do that on >> startup. >> > > In that case, I would have thought that (set-imol-refinement-map nnn) would > do the trick (nnn is 1, in this case presumably). > > (you can only do that if map number nnn exists at the time). > > > Is there any real danger in coot just going ahead with a guessed >> refinement map instead of the halting dialog? (Given the subsequent >> confirmation screen and the possibility to undo.) Or likely I am missing >> something everyone else has figured out? >> > > Maybe most others are using gtk2 version. > > Paul. > >
