This content refers to an unreleased development version of PyMVPA
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 0x8f61304>, <function _check_type at 0x8f6133c>, <function _check_choice at 0x8f61374>, <function _check_dest at 0x8f613ac>, <function _check_const at 0x8f613e4>, <function _check_nargs at 0x8f6141c>, <function _check_callback at 0x8f61454>]
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 0x8f6117c>, 'float': <function check_builtin at 0x8f6117c>, 'complex': <function check_builtin at 0x8f6117c>, 'long': <function check_builtin at 0x8f6117c>, 'choice': <function check_choice at 0x8f611b4>}
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