aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2023-10-15 22:50:30 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2023-10-15 22:50:30 -0400
commit33af0127e0c3f12891a0725fd16e1d9ba099ea4c (patch)
treed42253072ac575922b0bb2baa9bae5cddefacbd2
parent73199cf0617513b32999596973cffedd92014004 (diff)
downloadGradeBook-33af0127e0c3f12891a0725fd16e1d9ba099ea4c.tar.gz
GradeBook-33af0127e0c3f12891a0725fd16e1d9ba099ea4c.zip
convert emails to WM style
-rwxr-xr-xregenTheExpertTA.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/regenTheExpertTA.py b/regenTheExpertTA.py
index e521a0a..2c1c0d7 100755
--- a/regenTheExpertTA.py
+++ b/regenTheExpertTA.py
@@ -64,6 +64,7 @@ row = d[(d['LastName']=='Averages') & (d['FirstName'].isna()) & (d['UserName'].
d.drop(row.index, inplace=True)
# hand tuned fixes
+d['UserName'].replace('@email.wm.edu$', '@wm.edu', regex=True, inplace=True)
# d['UserName'].replace('phanng@hotmail.com@tj.va$', 'kphan@wm.edu', regex=True, inplace=True)
# Now let's convert percentage which TheExperTA reports to points as GradeTable expects