Next: Command-Line Argument Parsing
Up: Writing Python Scripts
Previous: Writing Python Scripts
Contents
Index
EMAN2 includes built-in functionality to create a record of
what commands are executed, using what parameters. This
information is stored in the file ``.eman2log'' located in the directory
the commands are run.
In order to include records of new programs into the log, use the functions
E2init([args]) to initiate an entry and the function
E2end() to finalize the entry.
For example:
logger = E2init (args)
.
. # interesting code here
.
E2end (logger)
2013-06-11