[Chimera-users] Values at Atom Oositions
Hernando J Sosa
hernando.sosa at einstein.yu.edu
Mon Nov 19 13:50:09 PST 2018
Ok, now it works.
Thanks Elaine!
H.
-----Original Message-----
From: Elaine Meng [mailto:meng at cgl.ucsf.edu]
Sent: Monday, November 19, 2018 4:15 PM
To: Hernando J Sosa
Cc: chimera-users
Subject: Re: [Chimera-users] Values at Atom Oositions
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