aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/AreaOfInterest/AOIFeatures.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/argaze/AreaOfInterest/AOIFeatures.py b/src/argaze/AreaOfInterest/AOIFeatures.py
index 4b57ed1..c5cbaef 100644
--- a/src/argaze/AreaOfInterest/AOIFeatures.py
+++ b/src/argaze/AreaOfInterest/AOIFeatures.py
@@ -199,12 +199,10 @@ class AOIScene():
return scene_copy
-class AOISceneMissing(AOIScene, Exception):
- """Exception to raise when aoi scene is missing."""
+class EmptyAOIScene(AOIScene):
+ """Empty aoi scene."""
- def __init__(self, message):
-
- super(Exception, self).__init__(message)
+ def __init__(self):
self.dimension = 0
self.areas = {}