Skip to content

Commit

Permalink
Add comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
redur committed Apr 11, 2024
1 parent bb8a700 commit 6f96e31
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/stratigraphy/util/predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@


class MaterialDescriptionPrediction:
"""A class to represent a material description prediction."""
"""A class to represent a material description prediction.
TODO: Check if this class can be replaced.
"""

def __init__(self, text: str, rect: list, lines: list):
self.text = text
Expand All @@ -19,7 +22,10 @@ def __init__(self, text: str, rect: list, lines: list):


class DepthIntervalPrediction:
"""A class to represent a depth interval prediction."""
"""A class to represent a depth interval prediction.
TODO: Could be replaced by BoundaryInterval from interval.py. Then we could use line_anchor and background_rect.
"""

def __init__(self, start: dict, end: dict):
self.start = (
Expand Down

0 comments on commit 6f96e31

Please sign in to comment.