-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Names with hyphens and apostrophes are skipped #26
Comments
A solution has been identified: Replacing the "-" in the last name with a space " " resolves the issue. This worked when utilizing the Note: In the CSV, the entry is |
FYI, when viewing the .csv raw, the first entry allows for a comma because it is wrapped in quotes. This is how it looks:
the comma within the first column is ignored since the quotes "escape" it. |
This issue also happens with apostrophe last names, I will try just editing the all_students.csv file to replace it with a space. |
It may be worth utilizing a third-party package for this, such as https://github.com/derek73/python-nameparser Before we do that, however, I'd want to test it and see how well it performs, especially for people with more than two names, names with - and ', etc. I could test on previous years' submission datasets... I just wish canvas didn't do the stupid name mangling! |
Thanks @jalvarez1492 , I think the above package may be a good potential solution to this. |
This was definitely an issue before, but seems to have popped up again.
Names with the pattern (real names redacted)
<Firstname> <Lastnameone>-<Lastnametwo>
Are not extracting properly. They should have unzipped directories created for them in
Submissions/
and their names should be shown in the "Students to grade" list.The text was updated successfully, but these errors were encountered: