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.
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.