[Chimera-users] Values at Atom Oositions

Elaine Meng meng at cgl.ucsf.edu
Mon Nov 19 13:14:47 PST 2018


Hi Hernando,
The answer is to close IDLE — you don’t need it to enter your script.  Instead put your script in a python file (something.py) and then open this file with the open command or menu: File… Open.
Best,
Elaine

> On Nov 19, 2018, at 12:50 PM, Hernando J Sosa <hernando.sosa at einstein.yu.edu> wrote:
> 
> Dear Elaine
> 
> 
> 	from chimera.tkgui import saveReplyLog
> 	saveReplyLog("savefilename")
> 
> Does not seem work, the resulting file is empty. I think the reason is that when idle is open the output of a command like
> from chimera import runCommand as rc
> rc("measure mapValues #0 #3 name vdatatom report all") 
> 
> is directed to the python shell instead to the Reply log.
> 
> So I am still unclear on how I can save the output to a file within a python script?
> 
> Thanks
> 
> Hernando
> 





More information about the Chimera-users mailing list