Skip to content

Commit

Permalink
Remove grading basis column
Browse files Browse the repository at this point in the history
The Workday team seems to also have realized
that this column was redundant
and removed it from the supported upload format.
  • Loading branch information
joelostblom committed Dec 16, 2024
1 parent 0363733 commit 5e2a9ab
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions canvascli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,10 +693,6 @@ def convert_grades_to_submission_format(self):
self.prepared_grades[additional_fields] = (
self.campus, self.course_name, self.session, self.subject, '', '')

# The new workday format seems to set the "Grading Basis" column to "Graded"
# for every student in the the downloaded CSV file, before knowing whether a grade will actually be entered.
# Just brilliant... I'm unsure whether we need to remove this if a grade is not entered.
self.prepared_grades['Grading Basis'] = 'Graded'
self.prepared_grades['Grade Note'] = ''
self.prepared_grades['Status'] = ''
self.prepared_grades['Updated By'] = ''
Expand Down Expand Up @@ -751,7 +747,6 @@ def save_prepared_grades_to_file(self):
'Student Id',
'Student Preferred Name',
'Student Last Name',
'Grading Basis',
'Grade',
'Grade Note',
'Academic Period',
Expand Down

0 comments on commit 5e2a9ab

Please sign in to comment.