Skip to content

Commit

Permalink
Add slab to legacy mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Aug 19, 2024
1 parent 7b8c9dc commit 32c54fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MLStructFP/db/_db_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def tabulate(self, limit: int = 0, legacy: bool = False,
('Project ID', 'Project label', 'Floor ID', 'Cat', 'Elev',
'Rects', 'Points', 'Slabs', 'Rooms', 'Items', 'Floor image path'
) if not legacy else
('Floor ID', 'Rects', 'Floor image path')
('Floor ID', 'Rects', 'Slabs', 'Floor image path')
):
theads.append(t)
table = [theads]
Expand All @@ -205,7 +205,7 @@ def tabulate(self, limit: int = 0, legacy: bool = False,
(f.project_id, f.project_label, f.id, f.category, 1 if f.elevation else 0,
len(f.rect), len(f.point), len(f.slab), len(f.room), len(f.item), f_file
) if not legacy else
(f.id, len(f.rect), f_file)
(f.id, len(f.rect), len(f.slab), f_file)
):
table_data.append(i)
table.append(table_data)
Expand Down

0 comments on commit 32c54fe

Please sign in to comment.