Re: [COOT] add_alt_conf function

2017-06-02 Thread Paul Emsley

On 02/06/2017 15:00, Kempf, Georg wrote:

Hi all,

I wanted to use the function /add_alt_conf/*(*imol, chain_id, res_no, ins_code, alt_conf, 
rot_no); sample: add_alt_conf(0, “A“, 1, ““, ““, 1). However, although giving a number in 
case of rot_no, the rotamer selection dialog still pops up when executing the command. Is 
there any way to prevent the dialog from opening and assign a default rotamer?


Not as far as I can see (I think that's a bug/missing feature). Using something 
like:

with_auto_accept([add_alt_conf, 0, "A", 43, "", "", 3])

will accept the new atoms but not dismiss the dialog.

Paul.


[COOT] add_alt_conf function

2017-06-02 Thread Kempf, Georg
Hi all,

I wanted to use the function add_alt_conf(imol, chain_id, res_no, ins_code, 
alt_conf, rot_no); sample: add_alt_conf(0, "A", 1, "", "", 1). However, 
although giving a number in case of rot_no, the rotamer selection dialog still 
pops up when executing the command. Is there any way to prevent the dialog from 
opening and assign a default rotamer?

Thanks,
Georg