diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2018-05-10 22:25:02 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2018-05-10 22:25:02 -0400 |
commit | 60dc2f0475ac932d72a572c039da1078bd568b6c (patch) | |
tree | 6950a2a4c271ca65682c0ee7ea90f788a8d8a1a3 /GradeBook_lib.tcl | |
parent | b4bd0ea48da3db6937b91b14dd894022dc4e7e1e (diff) | |
download | GradeBook-60dc2f0475ac932d72a572c039da1078bd568b6c.tar.gz GradeBook-60dc2f0475ac932d72a572c039da1078bd568b6c.zip |
weighted column maximum=1 is hardcoded, instead of sum of the points
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-x | GradeBook_lib.tcl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index 129a0ea..b4035c3 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -455,7 +455,9 @@ proc calculteWeightedTotals { } { set flag_delete_CategoryWeightedTolal true } if { [doesColumnExists $CategoryWeightedTolalName GradesTable] } { - UpdateColValue4UserNameNonWeb $CategoryWeightedTolalName _Max_Points_ $max_points($category) + # weighted category always normilized to 1 + UpdateColValue4UserNameNonWeb $CategoryWeightedTolalName _Max_Points_ 1 + #UpdateColValue4UserNameNonWeb $CategoryWeightedTolalName _Max_Points_ $max_points($category) # calculated weighted sum for each student in this category foreach student $students_list { |