File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 1313
1414warnings .filterwarnings ("ignore" , category = MarkupResemblesLocatorWarning , module = "bs4" )
1515
16- PROFESSOR_EXCEPTIONS = {
17- "Kimberly Shirkhani" : "Kim Shirkhani" ,
18- "John Green" : "Derek Green" ,
19- }
20-
2116COLLEGE_SEMINAR_CODES = {
2217 "CSBF" , # Coll Sem: Ben Franklin Coll
2318 "CSBK" , # Coll Sem: Berkeley Coll
@@ -104,9 +99,6 @@ def extract_professors(instructordetail_html: str) -> ParsedProfessors:
10499 # remove accents from professor names
105100 instructor_name = unidecode (instructor_name )
106101
107- # patch certain professor names manually
108- instructor_name = PROFESSOR_EXCEPTIONS .get (instructor_name , instructor_name )
109-
110102 # if the professor has a name and is not listed as staff, add it
111103 if len (instructor_name ) > 0 and instructor_name != "Staff" :
112104 names .append (instructor_name )
You can’t perform that action at this time.
0 commit comments