Skip to content

Commit 57b1ed7

Browse files
authored
ENH: allow conversions between NIMADS <--> SLEUTH (#942)
* ENH: NIMADS↔Sleuth conversions, schema + pydantic validation, affine support, annotation splitting controls; add Sleuth→NIMADS + round‑trip content test; tidy tests and docstrings * refactor code and tests * add more conversion functions * remove unused exception * remove looking into raw * fix leaky modification
1 parent 88c2976 commit 57b1ed7

5 files changed

Lines changed: 1033 additions & 8 deletions

File tree

nimare/exceptions.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"""Custom exceptions for NiMARE."""
2+
3+
4+
class NiMAREError(Exception):
5+
"""Base class for NiMARE exceptions."""
6+
7+
8+
class InvalidStudysetError(NiMAREError):
9+
"""Exception raised when a studyset is invalid or malformed."""

0 commit comments

Comments
 (0)