diff --git a/py4DSTEM/process/wholepatternfit/wp_models.py b/py4DSTEM/process/wholepatternfit/wp_models.py index 3d53c1743..c0907a11e 100644 --- a/py4DSTEM/process/wholepatternfit/wp_models.py +++ b/py4DSTEM/process/wholepatternfit/wp_models.py @@ -1117,7 +1117,7 @@ def __init__( name="Complex Overlapped Disk Lattice", verbose=False, ): - return NotImplementedError( + raise NotImplementedError( "This model type has not been updated for use with the new architecture." )