Skip to content

Commit

Permalink
LGVISIUM-80: update some TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvermeeren-swisstopo committed Nov 4, 2024
1 parent 56695ec commit dd559ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stratigraphy/layer/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down

0 comments on commit dd559ff

Please sign in to comment.