Skip to content

Commit

Permalink
Merge pull request #1044 from jhuopensource/hotfix/parser-spring2024
Browse files Browse the repository at this point in the history
Hotfix: update parser to add Spring 2024
  • Loading branch information
JiaqiWang18 authored Oct 23, 2023
2 parents ad27c88 + 8ddb4af commit d735062
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/run_parser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
echo starting;
cd /code
# TODO: No params does not honor active-only semesters, this is hardcoded for now
python3 manage.py ingest jhu --term Fall --years 2023;
python3 manage.py ingest jhu --term Spring --years 2024;
python3 manage.py digest jhu;

# Run all
Expand Down
6 changes: 3 additions & 3 deletions parsing/schools/jhu/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"2020": ["Fall", "Spring"],
"2021": ["Fall", "Spring"],
"2022": ["Fall", "Spring"],
"2023": ["Fall", "Spring"]
},
"final_exams": {
"2023": ["Fall", "Spring"],
"2024": ["Spring"]
},
"final_exams": {},
"registrar": true,
"short_course_weeks_limit": 8
}
13 changes: 12 additions & 1 deletion parsing/schools/jhu/courses.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,18 @@ def start(
self.verbosity = verbosity

# Default to hardcoded current year.
years = {"2023", "2022", "2021", "2020", "2019", "2018", "2017", "2016", "2015"}
years = {
"2024",
"2023",
"2022",
"2021",
"2020",
"2019",
"2018",
"2017",
"2016",
"2015",
}
terms = {"Spring", "Fall", "Summer", "Intersession"}

years_and_terms = dict_filter_by_dict(
Expand Down

0 comments on commit d735062

Please sign in to comment.