To provide the most recent news and documentation www.pymvpa.org reflects the development 2.0 series (renamed 0.6 series) of PyMVPA. If you are interested in the documentation of the previous stable 0.4 series of PyMVPA, please visit v04.pymvpa.org.

mvpa2.misc.cmdline.Option

Inheritance diagram of Option

class mvpa2.misc.cmdline.Option(*opts, **attrs)
Instance attributes:

_short_opts : [string] _long_opts : [string]

action : string type : string dest : string default : any nargs : int const : any choices : [string] callback : function callback_args : (any*) callback_kwargs : { string : any } help : string metavar : string

ACTIONS = ('store', 'store_const', 'store_true', 'store_false', 'append', 'append_const', 'count', 'callback', 'help', 'version')
ALWAYS_TYPED_ACTIONS = ('store', 'append')
ATTRS = ['action', 'type', 'dest', 'default', 'nargs', 'const', 'choices', 'callback', 'callback_args', 'callback_kwargs', 'help', 'metavar']
CHECK_METHODS = [<function _check_action at 0x12f5500>, <function _check_type at 0x12f5578>, <function _check_choice at 0x12f55f0>, <function _check_dest at 0x12f5668>, <function _check_const at 0x12f56e0>, <function _check_nargs at 0x12f5758>, <function _check_callback at 0x12f57d0>]
CONST_ACTIONS = ('store_const', 'append_const')
STORE_ACTIONS = ('store', 'store_const', 'store_true', 'store_false', 'append', 'append_const', 'count')
TYPED_ACTIONS = ('store', 'append', 'callback')
TYPES = ('string', 'int', 'long', 'float', 'complex', 'choice')
TYPE_CHECKER = {'int': <function check_builtin at 0x12f51b8>, 'float': <function check_builtin at 0x12f51b8>, 'complex': <function check_builtin at 0x12f51b8>, 'long': <function check_builtin at 0x12f51b8>, 'choice': <function check_choice at 0x12f5230>}
check_value(opt, value)
convert_value(opt, value)
get_opt_string()
process(opt, value, values, parser)
take_action(action, dest, opt, value, values, parser)
takes_value()

Previous topic

mvpa2.misc.cmdline.Options

Next topic

mvpa2.misc.cmdline.OptionGroup

NeuroDebian

NITRC-listed