You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code is simultaneously hilarious and terrible:
# in progress lol, this is stupid.defparse_uni(self,uni_str):
s=uni_str.upper()
# need to rework to have this be a list that allows you to update and add more entries# this methodology is pretty bad. right now but ok for first pass.if ('IVY'insandnot'NEAR'ins) or ('M.I.T'ins) or ('COLUMBIA'ins) or ('YALE'ins):
return'Tier 1'elif'NEAR'insand'IVY'ins:
return'Tier 2'else:
try:
logging.warning("Not enough info to parse university: {}".format(uni_str))
exceptUnicodeEncodeError:
passreturn'Tier 3'
The text was updated successfully, but these errors were encountered:
This code is simultaneously hilarious and terrible:
The text was updated successfully, but these errors were encountered: