Skip to content

Commit

Permalink
Fix image path
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Mar 26, 2024
1 parent 7bbb8c1 commit faebc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MLStructFP/db/_floor.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, floor_id: int, image_path: str, image_scale: NumberType, proj
assert os.path.isfile(image_path), f'Image file {image_path} does not exist'
assert isinstance(image_scale, NumberInstance) and image_scale > 0
self.id = floor_id
self.image_path = image_path
self.image_path = image_path.replace('\\', '/')
self.image_scale = float(image_scale)
self.project_id = project_id
self._bb = None
Expand Down

0 comments on commit faebc37

Please sign in to comment.