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.kernels.sg.exists

mvpa2.kernels.sg.exists(dep, force=False, raise_=False, issueWarning=None)

Test whether a known dependency is installed on the system.

This method allows us to test for individual dependencies without testing all known dependencies. It also ensures that we only test for a dependency once.

Parameters :

dep : string or list of string

The dependency key(s) to test.

force : boolean

Whether to force the test even if it has already been performed.

raise_ : boolean

Whether to raise RuntimeError if dependency is missing. If True, it is still conditioned on the global setting MVPA_EXTERNALS_RAISE_EXCEPTION, while would raise exception if missing despite the configuration if ‘always’.

issueWarning : string or None or True

If string, warning with given message would be thrown. If True, standard message would be used for the warning text.

NeuroDebian

NITRC-listed