Package schrodinger :: Package application :: Package matsci :: Package nano :: Module slab :: 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 all options.
 
loadHKLOptions(self)
Load ParserWrapper with hkl options.
 
loadOptions(self)
Load ParserWrapper with options.
 
loadEnumeration(self)
Load ParserWrapper with enumeration options.
 
loadRequired(self)
Load ParserWrapper with required options.
 
loadCommon(self)
Load ParserWrapper with common 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