--- loncom/homework/grades.pm 2004/04/24 08:31:57 1.188 +++ loncom/homework/grades.pm 2004/04/24 09:01:52 1.190 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.188 2004/04/24 08:31:57 albertel Exp $ +# $Id: grades.pm,v 1.190 2004/04/24 09:01:52 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3521,8 +3521,8 @@ sub scantron_selectphase {
How should I handle this?
\n");
$r->print("\n
");
- $r->print(" Use the CODE ".$$scan_record{'scantron.CODE'}." that is was on the paper, ignoring the error.");
+ $r->print(" Use the CODE ".$$scan_record{'scantron.CODE'}." that is was on the paper, ignoring the error.");
$r->print("\n
");
$r->print(<
");
- $r->print(" Use as the CODE.");
+ $r->print(" Use as the CODE.");
$r->print("\n
");
} elsif ($error eq 'doublebubble') {
#FIXME Need to print out who this is along with the paper info
@@ -4198,7 +4210,6 @@ sub scantron_validate_CODE {
&FIXME_blow_up()
}
} else {
- &Apache::lonnet::logthis(" CODE stuf $scantron_config{'CODElocation'}:$scantron_config{'CODEstart'}:$scantron_config{'CODElength'}");
return (0,$currentphase+1);
}
@@ -4208,7 +4219,7 @@ sub scantron_validate_CODE {
my $cdom =$ENV{'course.'.$ENV{'request.course.id'}.'.domain'};
my $cnum =$ENV{'course.'.$ENV{'request.course.id'}.'.num'};
my %result=&Apache::lonnet::get('CODEs',[$old_name],$cdom,$cnum);
- my %allcodes=map {($_,1)} split(',',$result{$old_name});
+ my %allcodes=map {(&Apache::lonprintout::num_to_letters($_),1)} split(',',$result{$old_name});
my ($scanlines,$scan_data)=&scantron_getfile();
for (my $i=0;$i<=$scanlines->{'count'};$i++) {