Skip to content

Commit

Permalink
Min changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Nov 18, 2023
1 parent 86c99c0 commit 17583a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions MLStructFP/db/_floor.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ def __init__(self, floor_id: int, image_path: str, image_scale: NumberType) -> N

@property
def rect(self) -> Tuple['Rect']:
# noinspection PyTypeChecker
return tuple(self._rect.values())

@property
def slab(self) -> Tuple['Slab']:
# noinspection PyTypeChecker
return tuple(self._slab.values())

def plot_basic(self) -> 'go.Figure':
Expand Down
2 changes: 1 addition & 1 deletion MLStructFP/db/image/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def make_region(self, xmin: NumberType, xmax: NumberType, ymin: NumberType, ymax

def export(self, filename: str, close: bool = True, compressed: bool = True) -> None:
"""
Export saved images to numpy format and remove all data.
Export saved images to numpy format and then removes all data.
:param filename: File to export
:param close: Close after export
Expand Down

0 comments on commit 17583a1

Please sign in to comment.