From dd559ff28579dd40ba7b1bf0b24ed58a94a5f6e9 Mon Sep 17 00:00:00 2001 From: Stijn Vermeeren Date: Mon, 4 Nov 2024 09:14:49 +0100 Subject: [PATCH] LGVISIUM-80: update some TODOs --- src/stratigraphy/layer/layer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stratigraphy/layer/layer.py b/src/stratigraphy/layer/layer.py index 84e6770b..8b815302 100644 --- a/src/stratigraphy/layer/layer.py +++ b/src/stratigraphy/layer/layer.py @@ -11,6 +11,7 @@ from stratigraphy.util.util import parse_text +# TODO: make this a subclass of ExtractedFeature (cf. ticket LGVISIUM-79) @dataclass class Layer: """A class to represent predictions for a single layer.""" @@ -108,8 +109,7 @@ def _create_textblock_object(lines: list[dict]) -> TextBlock: return TextBlock(lines) -# @dataclass(kw_only=True) -# TODO: check if this makes more sense: class LayersOnPage(ExtractedFeature): +# TODO: convert to FeatureOnPage[Layer] (cf. ticket LGVISIUM-79) @dataclass class LayersOnPage: """A class to represent predictions for a single page."""