diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2023-10-15 22:50:30 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2023-10-15 22:50:30 -0400 |
commit | 33af0127e0c3f12891a0725fd16e1d9ba099ea4c (patch) | |
tree | d42253072ac575922b0bb2baa9bae5cddefacbd2 | |
parent | 73199cf0617513b32999596973cffedd92014004 (diff) | |
download | GradeBook-33af0127e0c3f12891a0725fd16e1d9ba099ea4c.tar.gz GradeBook-33af0127e0c3f12891a0725fd16e1d9ba099ea4c.zip |
convert emails to WM style
-rwxr-xr-x | regenTheExpertTA.py | 1 |
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 |