aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()