Skip to content

Email casing issue #1

Open
tac08005 opened this issue Feb 24, 2025 · 0 comments
Open

Email casing issue #1

tac08005 opened this issue Feb 24, 2025 · 0 comments

Comments

@tac08005
Copy link

If the emails coming from the Student Admin roster are not uppercased (rare, but it does occur in edge cases), then the script will not match them appropriately.

The fix is to uppercase all emails when creating the dictionaries in get_roster_dictionaries. The fix is demonstrated below (and I've also uppercased the netIDs just in case. Snippet is from lines 19-22 of ParticipationHelpers.py

...
    for index, row in df.iterrows():
         netIDs_to_emails[row[netID_col].upper()] = row[email_col].upper()
         emails_to_netIDs[row[email_col].upper()] = row[netID_col].upper()
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant