Table Of Contents

Previous topic

misc.bv.base

Next topic

misc.data_generators

This content refers to the previous stable release of PyMVPA. Please visit www.pymvpa.org for the most recent version of PyMVPA and its documentation.

misc.cmdline

Module: misc.cmdline

Inheritance diagram for mvpa.misc.cmdline:

Common functions and options definitions for command line

__docformat__ = ‘restructuredtext’

Conventions: Every option (instance of optparse.Option) has prefix “opt”. Lists of options has prefix opts (e.g. opts.common).

Option name should be camelbacked version of .dest for the option.

Classes

OptionGroups

class mvpa.misc.cmdline.OptionGroups(parser)

Bases: object

Group creation is delayed until instance is requested.

This allows to overcome the problem of poluting handled cmdline options

add(name, l, doc)

Options

class mvpa.misc.cmdline.Options

Bases: object

Just a convinience placeholder for all available options