From 9265afdf5f2883b7759f52ef93743c7e5a6bd6e6 Mon Sep 17 00:00:00 2001
From: Christopher Bohn <bohn@unl.edu>
Date: Thu, 20 May 2021 15:10:39 -0500
Subject: [PATCH] Added major codes for Raikes students

Thanks to Dr. Stephanie Valentine for catching the omission.
---
 README.md           | 6 +++---
 majors.py           | 7 ++++---
 rosters/rosters.csv | 4 ++--
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index 8a8a884..5dfb986 100644
--- a/README.md
+++ b/README.md
@@ -59,7 +59,7 @@ a single Canvas course, then you can do the same for your MyRed rosters. Run
 dos2unix download.csv
 ```
 to remove unwanted unprintable characters. Then move the csv file into the
-`rosters/semester` subdirectory (making the appropriate substituion for
+`rosters/semester` subdirectory (making the appropriate substitution for
 *semester*) and rename it with the course number, such as `csce231.csv`.
 
 Repeat for each of your courses that you want to analyze.
@@ -97,7 +97,7 @@ you'll be presented with a list of assignments in that group. Select one.
 ![Select the assignment to analyze](README-images/selecting-an-assignment.png)
 
 After you select the assignment, you'll be provided the statistics for it. (Be 
-patient, as the Canvas queries can a few seconds.) You will then be looped back
+patient, as the Canvas queries can take a few seconds.) You will then be looped back
 to selecting a course. (Yes, I know there's an obvious usability optimization
 here to stick with one course until you're done with it -- again, I threw this
 together in a couple of hours.)
@@ -124,4 +124,4 @@ that code.
 - `common_functions.py` has a few utility functions that I made for another 
   project. I only use one of them here.
 - `api/canvas_classes.py` is also from another project; it has a slew of 
-  classes that use the `canvasapi` package.
\ No newline at end of file
+  classes that use the `canvasapi` package.
diff --git a/majors.py b/majors.py
index 0e53901..4df8d5c 100644
--- a/majors.py
+++ b/majors.py
@@ -10,6 +10,7 @@ class Major:
         Major.majors.add(self)
 
 
-Major('Computer Science', {'COMP-BS', 'COMP-BA', 'COMP-MAJ', 'COMP-BSCS'})  # we don't yet have BSCS but I expect we soon will
-Major('Computer Engineering', {'CENG-BSCP'})
-Major('Software Engineering', {'SOFT-BSSE'})
+Major('Computer Science', {'COMP-BS', 'COMP-BA', 'COMP-MAJ', 'COMP-BSCS',   # we don't yet have BSCS
+                           'JECS-BS', 'JECS-BA', 'JECS-MAJ', 'JECS-BSCS'})  # but I expect we soon will
+Major('Computer Engineering', {'CENG-BSCP', 'JECE-BSCP'})
+Major('Software Engineering', {'SOFT-BSSE', 'JESE-BSSE'})
diff --git a/rosters/rosters.csv b/rosters/rosters.csv
index 7f5850c..96aac7f 100644
--- a/rosters/rosters.csv
+++ b/rosters/rosters.csv
@@ -1,3 +1,3 @@
 SEMESTER,SUBDIRECTORY,COURSE 1,FILENAME 1,CANVAS ID 1,COURSE 2,FILENAME 2,CANVAS ID 2,COURSE 3,FILENAME 3,CANVAS ID 3,COURSE 4,FILENAME 4,CANVAS ID 4,COURSE 5,FILENAME 5,CANVAS ID 5,COURSE 6,FILENAME 6,CANVAS ID 6,COURSE 7,FILENAME 7,CANVAS ID 7,COURSE 8,FILENAME 8,CANVAS ID 8,COURSE 9,FILENAME 9,CANVAS ID 9
-Fall 2020,fall2020,SOFT 160,soft160.csv,94598,CSCE 231,csce231.csv,89472,SOFT 360,soft360.csv,94606,CSCE 486,csce486.csv,89523,CSCE 488,csce488.csv,89523,SOFT 403,soft403.csv,89523,CSCE 493,csce493.csv,89523,CSCE 493A,csce493a.csv,89523,,,
-Spring 2021,spring2021,SOFT 161,soft161.csv,105546,CSCE 231,csce231.csv,100808,CSCE 487,csce487.csv,100787,CSCE 489,csce489.csv,100787,CSCE 493,csce493.csv,100787,CSCE 493A,csce493a.csv,100787,SOFT 404,soft 404.csv,100787,,,,,,
\ No newline at end of file
+Spring 2021,spring2021,SOFT 161,soft161.csv,105546,CSCE 231,csce231.csv,100808,CSCE 487,csce487.csv,100787,CSCE 489,csce489.csv,100787,CSCE 493,csce493.csv,100787,CSCE 493A,csce493a.csv,100787,SOFT 404,soft 404.csv,100787,,,,,,
+Fall 2020,fall2020,SOFT 160,soft160.csv,94598,CSCE 231,csce231.csv,89472,SOFT 360,soft360.csv,94606,CSCE 486,csce486.csv,89523,CSCE 488,csce488.csv,89523,SOFT 403,soft403.csv,89523,CSCE 493,csce493.csv,89523,CSCE 493A,csce493a.csv,89523,,,
\ No newline at end of file
-- 
GitLab