[LON-CAPA-cvs] cvs: loncom /homework/caparesponse caparesponse.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 23 Feb 2005 23:41:24 -0000


albertel		Wed Feb 23 18:41:24 2005 EDT

  Modified files:              
    /loncom/homework/caparesponse	caparesponse.pm 
  Log:
  - add format to anaylze output
  
  
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.164 loncom/homework/caparesponse/caparesponse.pm:1.165
--- loncom/homework/caparesponse/caparesponse.pm:1.164	Mon Feb 21 15:39:46 2005
+++ loncom/homework/caparesponse/caparesponse.pm	Wed Feb 23 18:41:23 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # caparesponse definition
 #
-# $Id: caparesponse.pm,v 1.164 2005/02/21 20:39:46 albertel Exp $
+# $Id: caparesponse.pm,v 1.165 2005/02/23 23:41:23 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -361,6 +361,9 @@
 		    push (@{ $Apache::lonhomework::analyze{"$part_id.ans_high"} }, $high);
 		    push (@{ $Apache::lonhomework::analyze{"$part_id.ans_low"} }, $low);
 		}
+		if ($fmt) {
+		    push (@{ $Apache::lonhomework::analyze{"$part_id.format"} }, $fmt);
+		}
 	    }
 	}
 	if (defined($unit) and ($unit ne '') and