Food menu parsing stuff assumes data is for dining commons #21
Labels
bug
Something isn't working
dining
Related to dining, food trucks, etc.
help wanted
Extra attention is needed
Dining commons have really nice menus that give you all sorts of nutritional information and ingredients and stuff. We take advantage of this to give users a whole bunch of useful information:
umass-toolkit/umass_toolkit/dining_utils.py
Lines 35 to 59 in 3a78af4
Unfortunately, non-DC locations do not do this, and basically just have plain text menus. We should handle this.
I'm not sure what I think is the best way to handle this is. My current idea is maybe a get_dc_menu function, separate from get_menu. This could be confusing though because getting DC menus is probably going to be the more useful and more commonly used feature, so I don't like making it the "special case."
I dunno, thoughts?
The text was updated successfully, but these errors were encountered: