aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2023-10-15 22:55:23 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2023-10-15 22:57:40 -0400
commit1b11483e8b00966c452daa59780a2ad9781f59b8 (patch)
tree98730854c1a6bc0ca4195248c3f6be2f5f174c62
parent33af0127e0c3f12891a0725fd16e1d9ba099ea4c (diff)
downloadGradeBook-1b11483e8b00966c452daa59780a2ad9781f59b8.tar.gz
GradeBook-1b11483e8b00966c452daa59780a2ad9781f59b8.zip
fix typo
-rwxr-xr-ximportGrades2gradebook.tcl4
-rwxr-xr-xregenTheExpertTA.py6
2 files changed, 5 insertions, 5 deletions
diff --git a/importGrades2gradebook.tcl b/importGrades2gradebook.tcl
index ed17a6b..f343e3d 100755
--- a/importGrades2gradebook.tcl
+++ b/importGrades2gradebook.tcl
@@ -455,7 +455,7 @@ proc addStudentsFromTheExperTADB { db } {
set section unknownSection
global ADDSTUDENT
if { ! $ADDSTUDENT } {
- puts "Skipping user addition: Gradescope does not provide Section number"
+ puts "Skipping user addition: TheExpertTA does not provide Section number"
return
}
@@ -586,7 +586,7 @@ set allForeignCols [getColListFromAnyTable foreignDB export_table]
set dbOrigin Blackboard; # default
if { {SID} in $allForeignCols } { set dbOrigin Gradescope }
if { $dbFileToExport == "WebAssign.db" } { set dbOrigin WebAssign }
-if { $dbFileToExport == "TheExperTA.db" } { set dbOrigin TheExpertTA }
+if { $dbFileToExport == "TheExpertTA.db" } { set dbOrigin TheExpertTA }
puts [list Detected foreign DB origin: $dbOrigin]
switch $dbOrigin {
diff --git a/regenTheExpertTA.py b/regenTheExpertTA.py
index 2c1c0d7..619bf34 100755
--- a/regenTheExpertTA.py
+++ b/regenTheExpertTA.py
@@ -82,11 +82,11 @@ for c in d.columns:
-d.to_csv('TheExperTA.csv', index=False)
+d.to_csv('TheExpertTA.csv', index=False)
# now import to sqlite3
-os.popen('rm -f TheExperTA.db')
-p = os.popen('printf ".mode csv\n.import \"TheExperTA.csv\" export_table\n.q" | sqlite3 TheExperTA.db')
+os.popen('rm -f TheExpertTA.db')
+p = os.popen('printf ".mode csv\n.import \"TheExpertTA.csv\" export_table\n.q" | sqlite3 TheExpertTA.db')
p.close()