aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-05-11 09:18:40 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-05-11 09:18:40 -0400
commit433ad89005822fa4b57ff5092cc9bcda7eb58133 (patch)
treed37c43b25de3899b1726a1046cf81fd0713bd9bd
parentc1ae34e1480a729dfd684ee526c779b171fb36b2 (diff)
downloadGradeBook-433ad89005822fa4b57ff5092cc9bcda7eb58133.tar.gz
GradeBook-433ad89005822fa4b57ff5092cc9bcda7eb58133.zip
removed dry runs
-rwxr-xr-xblackboard2gradebook.tcl10
1 files changed, 5 insertions, 5 deletions
diff --git a/blackboard2gradebook.tcl b/blackboard2gradebook.tcl
index be34eeb..dd49c80 100755
--- a/blackboard2gradebook.tcl
+++ b/blackboard2gradebook.tcl
@@ -128,7 +128,7 @@ set err [catch {
bdb eval $eval_str v {
set email $v(Username)@email.wm.edu
puts [list AddUserNonWeb $v($fname) $v($lname) $email student $v($idnum) 1]
- #AddUserNonWeb $v($fname) $v($lname) $email student $v($idnum) 1
+ AddUserNonWeb $v($fname) $v($lname) $email student $v($idnum) 1
}
} errStat ]
iferror $err $errStat
@@ -150,8 +150,8 @@ foreach col [getColListFromAnyTable bdb export_table] {
continue
}
if { ![doesColumnExists $shortCol GradesTable] } {
- #AddColumnNonWeb $shortCol $category $maxScore
- puts [list AddColumnNonWeb $shortCol $category $maxScore]
+ AddColumnNonWeb $shortCol $category $maxScore
+ #puts [list AddColumnNonWeb $shortCol $category $maxScore]
}
foreach uname $username_list {
set locUname $uname@email.wm.edu
@@ -161,8 +161,8 @@ foreach col [getColListFromAnyTable bdb export_table] {
# change percentage to score
set grade [ expr {$grade/100*$maxScore} ]
}
- #UpdateColValue4UserNameNonWeb $shortCol $locUname $grade
- puts [list UpdateColValue4UserNameNonWeb $shortCol $locUname $grade]
+ UpdateColValue4UserNameNonWeb $shortCol $locUname $grade
+ #puts [list UpdateColValue4UserNameNonWeb $shortCol $locUname $grade]
}
}
}