Skip to content

Commit

Permalink
Numberless class edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
Acumane committed Jan 16, 2024
1 parent d83ea37 commit e599383
Show file tree
Hide file tree
Showing 6 changed files with 35,222 additions and 190 deletions.
2 changes: 1 addition & 1 deletion convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
act, cap = sec['act'], sec['cap']
size = act if act > cap else cap # class size estimate
if not size or roomName in roomsToSkip: continue
if roomName[-1].isalpha(): # Keep rooms like STU, AUD, SO
if not roomName[-1].isnumeric(): # Keep rooms like STU, AUD, SO
bldgName, _ = roomName.rsplit(' ', 1)
if bldgName not in abbrev: continue
bldgName, roomNum = roomName.rsplit(' ', 1)
Expand Down
Loading

0 comments on commit e599383

Please sign in to comment.