[Chimera-users] how to save a copy of the reply log via command line

Thomas Goddard goddard at cgl.ucsf.edu
Fri Sep 1 10:40:59 PDT 2006

Hi Cathy,

  There is not currently a Python routine to save the reply log
although I'll see about adding it.  For now the following Python
function will do the job in your Python script.

  It would be possible to modify the script to only save the last
N lines of the reply log.  Let me know if you want that version.


def save_reply_log(path):
  from chimera import dialogs
  r = dialogs.find('reply')
  text = r.text.get('1.0', 'end')
  f = open(path, 'w')

More information about the Chimera-users mailing list