Package schrodinger :: Package application :: Package matsci :: Package nano :: Module surfaces_interfaces_mod :: Class ParserWrapper
[hide private]
[frames] | no frames]

Class ParserWrapper

object --+
         |
        ParserWrapper

Manages the argparse module to parse user command line arguments.

Instance Methods [hide private]
 
__init__(self, scriptname, description)
Create a ParserWrapper instance and process it.
 
loadIt(self)
Load ParserWrapper with options.
 
parseArgs(self, args)
Parse the command line arguments.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, scriptname, description)
(Constructor)

 

Create a ParserWrapper instance and process it.

Parameters:
  • scriptname (str) - name of this script
  • description (str) - description of this script
Overrides: object.__init__

parseArgs(self, args)

 

Parse the command line arguments.

Parameters:
  • args (tuple) - command line arguments