Skip to content

Commit

Permalink
adding version
Browse files Browse the repository at this point in the history
  • Loading branch information
guinslym committed Nov 29, 2020
1 parent c552b10 commit b80d3b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions ask_schools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
__version__ = "0.3.5"
__version__ = "0.3.8"

suffixes = ["york","tor","sp","gue","otech","mac","west","ott","rye","brk","queens","lake","guehum","york.fr","ocad","car","stp.fr","lan","lan.fr","alg","int","int.fr","uoit"]
suffixes_school = ["York University","University of Toronto","Scholars-Portal","Guelph University","Ontario Tech","McMaster University","Western University","Ottawa University","Ryerson University","Brock University","Queen's University","Lakehead University","Guelph-Humber University","York University","OCAD University","Carleton University","Saint-Paul University","Laurentian University","Laurentian University","Algoma University","Mentee","Mentee","Ontario Tech University"]
suffixes_school = ["York University","University of Toronto","Scholars-Portal","Guelph University","Ontario Tech","McMaster University","Western University","Ottawa University","Ryerson University","Brock University","Queen's University","Lakehead University","Guelph-Humber University","York University","OCAD University","Carleton University","Saint-Paul University","Laurentian University","Laurentian University","Algoma University","Mentees","Mentees","Ontario Tech University"]

queue = ["algoma","algoma-fr","brock","carleton-txt","carleton","guelph","guelph-humber","guelph-humber-txt","lakehead","laurentian","laurentian-fr","mcmaster","mcmaster-txt","ocad","otech","ottawa","ottawa-fr","ottawa-fr-txt","ottawa-txt","practice-webinars","practice-webinars-fr","practice-webinars-txt","queens","ryerson","saintpaul","saintpaul-fr","scholars-portal","toronto","toronto-mississauga","toronto-scarborough","toronto-st-george","western","western-fr","western-proactive","western-txt","york","york-glendon","york-glendon-fr","york-txt"]
queue_simple_name = ["algoma","algoma","brock","carleton","carleton","guelph","guelph","guelph","lakehead","laurentian","laurentian","mcmaster","mcmaster","ocad","otech","ottawa","ottawa","ottawa","ottawa","practice","practice","practice","queens","ryerson","saintpaul","saintpaul","scholars","toronto","toronto","toronto","toronto","western","western","western","western","york","york","york","york"]
queue_university = ["Algoma University","Algoma University","Brock University","Carleton University","Carleton University","Guelph University","Guelph-Humber University","Guelph-Humber University","Lakehead University","Laurentian University","Laurentian University","McMaster University","McMaster University","OCAD University","Ontario Tech","Ottawa University","Ottawa University","Ottawa University","Ottawa University","practice","practice","practice","Queen's University","Ryerson University","Saint-Paul University","Saint-Paul University","Scholars-Portal","University of Toronto","University of Toronto","University of Toronto","University of Toronto","Western University","Western University","Western University","Western University","York-University","York-University","York-University","York-University"]

school_name = {
'Toronto':{'suffix':'_tor', 'short':'Toronto', 'full':'University of Toronto'},
'Mentee':{'suffix':'_int', 'short':'Mentee', 'full':'Mentee'},
'Mentees':{'suffix':'_int', 'short':'Mentees', 'full':'Mentees'},
'Western':{'suffix':'_west', 'short':'Western', 'full':'University of Western Ontario'},
'Carleton':{'suffix':'_car', 'short':'Carleton', 'full':'Carleton University'},
'Ryerson':{'suffix':'_rye', 'short':'Ryerson', 'full':'Ryerson University'},
Expand Down Expand Up @@ -46,7 +46,7 @@ def find_school_by_operator_suffix(operator):
if "_tor" in operator:
return "Toronto"
elif "_int" in operator:
return "Mentee"
return "Mentees"
elif "_west" in operator:
return "Western"
elif "_car" in operator:
Expand Down Expand Up @@ -100,8 +100,8 @@ def get_shortname_by_full_school_name(school):
return 'Ryerson'
elif "western" in school:
return "Western"
elif "mentee" in school:
return 'Mentee'
elif "mentees" in school:
return 'Mentees'
elif "guelph" in school:
return "Guelph"
elif "york" in school:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ask_schools"
version = "0.3.5"
version = "0.3.8"
description = "Ask Scholars Portal School Name Conversion"
authors = ["Guinsly Mondesir <[email protected]>"]
keywords = ["Ask", "Scholars Portal", "Ontario"]
Expand Down

0 comments on commit b80d3b0

Please sign in to comment.