Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the user guide for the big picture.

nilearn.exceptions.AllVolumesRemovedError

class nilearn.exceptions.AllVolumesRemovedError[source]

Warns the user if no volumes were kept.

Exception is raised when all volumes are scrubbed, i.e., sample_mask is an empty array.

__init__()[source]
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.