From 4bb052d66509da1b734168a06e0176292793867f Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Sat, 15 Apr 2023 13:44:41 +0200 Subject: [PATCH] added description type to class mapping --- grum/descs/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/grum/descs/__init__.py b/grum/descs/__init__.py index d7ca373..d641fb3 100644 --- a/grum/descs/__init__.py +++ b/grum/descs/__init__.py @@ -4,3 +4,10 @@ from .imgdesc import ImageDescription from .plotdesc import PlotDescription +DESC_TYPES = { + ImageDescription.get_type(): ImageDescription, + PlotDescription.get_type(): PlotDescription +} + + +