Class to convert command line arguments and many defaults into a Cell object
|
Methods
|
|
__call__ __init__ arghandler
|
|
|
__call__
|
__call__ ( self, hardware=None )
Once all command line arguments are handled, a call of the
instance returns the Cell() object that was specified. |
|
|
__init__
|
__init__ ( self, filename=None )
Normally called without arguments, but can be called with
a filename argument to change the default file name immediately.
|
|
|
arghandler
|
arghandler ( self, arg )
Argument handler.
Should be called once for each command line argument
that could be related to the unit cell. This function will return 1 if it
did understand and handle the argument, and 0 if it did not. |
|