From 21f626b14241aaa762df87aa6dafdfa5223d061c Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sun, 27 Mar 2022 21:17:16 -0400 Subject: update diagnostic for skipped columns --- importGrades2gradebook.tcl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/importGrades2gradebook.tcl b/importGrades2gradebook.tcl index f4a3161..feeed49 100755 --- a/importGrades2gradebook.tcl +++ b/importGrades2gradebook.tcl @@ -350,8 +350,12 @@ proc updateGrade { col locUname grade } { proc pickCols2import { cols2import skipCreationCol categories2import } { set reduced_list {} foreach col $cols2import { + if { "$col" eq "" } { + dbg "skipping column with empty name" + continue + } if { [isInList $col $skipCreationCol] } { - dbg "skipping column $col" + dbg "skipping column $col, it is in $skipCreationCol list" continue } set colInfo [parseColName $col] -- cgit v1.2.3