Code cleanup

This commit is contained in:
Vik Paruchuri
2013-04-10 15:26:45 -04:00
parent cef4d0cb09
commit 2a5631da86
2 changed files with 1 additions and 1 deletions

View File

@@ -459,6 +459,7 @@ class @PeerGradingProblem
if response.actual_rubric != undefined
calibration_wrapper.append("<div>Instructor Scored Rubric: #{response.actual_rubric}</div>")
if response.actual_feedback!=undefined
calibration_wrapper.append("<div>Instructor Feedback: #{response.actual_feedback}</div>")
# disable score selection and submission from the grading interface

View File

@@ -435,7 +435,6 @@ class PeerGradingModule(PeerGradingFields, XModule):
try:
response = self.peer_gs.save_calibration_essay(location, grader_id, calibration_essay_id,
submission_key, score, feedback, rubric_scores)
log.debug("RESPONSE RESPONSE : {0}".format(response))
if 'actual_rubric' in response:
rubric_renderer = combined_open_ended_rubric.CombinedOpenEndedRubric(self.system, True)
response['actual_rubric'] = rubric_renderer.render_rubric(response['actual_rubric'])['html']