Hi Michael,

Use mode="a" to append to the log file:

cmd.log_open('/tmp/log.pml', 'a')

Cheers,
  Thomas


> On Mar 6, 2019, at 5:47 AM, Michael Morgan <michaelmorgan...@gmail.com> wrote:
> 
> Dear all,
>  
> I hope my log file can keep recording operations. 
>  
> I put “log_open” in the pymolrc.pml file. However, it seems it creates a new 
> file. All operations from last time are wiped out.
>  
> “Append…” from “File -> Log File” menu seems work. But how can I make it 
> automatically for every time pymol is open? It seems there is no “log_append” 
> command.
>  
> Thanks.
>  
> Michael

--
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.



_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to