From b573c1c1349d7e845ca0199b1737a95496c0679a Mon Sep 17 00:00:00 2001 From: alex-rakowski Date: Mon, 20 Nov 2023 13:52:52 -0800 Subject: [PATCH] bug fix to __init__ func --- py4DSTEM/process/wholepatternfit/wp_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." )