diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-12 22:53:46 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-12 22:53:46 -0500 |
commit | 240ca89a437cf6ed766a8e4f11d796862ddded61 (patch) | |
tree | 0085d011b905726cffc66ebc0323e5c5a2e40eff | |
parent | 7c283d6c629bee115e0406898c9f15055d411873 (diff) | |
download | GradeBook-240ca89a437cf6ed766a8e4f11d796862ddded61.tar.gz GradeBook-240ca89a437cf6ed766a8e4f11d796862ddded61.zip |
added new category import from Gradescope
-rwxr-xr-x | importGrades2gradebook.tcl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/importGrades2gradebook.tcl b/importGrades2gradebook.tcl index 3bfa09d..f05b273 100755 --- a/importGrades2gradebook.tcl +++ b/importGrades2gradebook.tcl @@ -51,7 +51,7 @@ try { } ################# Config ############################################ -set categories2import [list FinalExam HomeWork LabReport] +set categories2import [list FinalExam HomeWork LabReport LogBook] #set categories2import [list FinalExam] set commonInfoCol {{First Name} {Last Name} {Student ID} {Last Access} Username Availability } @@ -226,9 +226,13 @@ proc parseGradescopeColName { col } { if { [regexp -nocase {Report} $name match dummy] } { set category LabReport; } + if { [regexp -nocase {Labbook} $name match dummy] } { + set category LogBook; + } switch $name { Homework { set name Homework ; set category HomeWork } Lab { set name Lab ; set category LabReport} + Labbook { set name Logbook ; set category LogBook} "Final Project Design" { set category FinalExam } "Final Project Report" { set category FinalExam } default { } |