mvpa2.base.attributes.ConditionalAttribute

Inheritance diagram of ConditionalAttribute

class mvpa2.base.attributes.ConditionalAttribute(enabled=True, *args, **kwargs)

Simple container intended to conditionally store the value

Methods

reset() Simply detach the value, and reset the flag
Parameters:

enabled : bool

If a ConditionalAttribute is not enabled then assignment of any value has no effect, i.e. nothing is stored.

**kwargs :

Methods

reset() Simply detach the value, and reset the flag
enabled
reset()

Simply detach the value, and reset the flag