Blank line fixes
This commit is contained in:
@@ -133,7 +133,6 @@ class CombinedOpenEndedRubric(object):
|
||||
categories.append(self.extract_category(category))
|
||||
return categories
|
||||
|
||||
|
||||
def extract_category(self, category):
|
||||
'''
|
||||
construct an individual category
|
||||
@@ -235,7 +234,6 @@ class CombinedOpenEndedRubric(object):
|
||||
})
|
||||
return html
|
||||
|
||||
|
||||
@staticmethod
|
||||
def validate_options(options):
|
||||
'''
|
||||
@@ -328,9 +326,3 @@ class CombinedOpenEndedRubric(object):
|
||||
tuples.append([0, category, score, [], []])
|
||||
tup_ind = len(tuples) - 1
|
||||
return tuples, tup_ind
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -77,7 +77,6 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
|
||||
self.send_to_grader(self.latest_answer(), system)
|
||||
self.created = False
|
||||
|
||||
|
||||
def _parse(self, oeparam, prompt, rubric, system):
|
||||
'''
|
||||
Parse OpenEndedResponse XML:
|
||||
@@ -270,7 +269,6 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
|
||||
|
||||
return True
|
||||
|
||||
|
||||
def get_answers(self):
|
||||
"""
|
||||
Gets and shows the answer for this problem.
|
||||
@@ -415,7 +413,6 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
|
||||
|
||||
return feedback_template, rubric_scores
|
||||
|
||||
|
||||
def _parse_score_msg(self, score_msg, system, join_feedback=True):
|
||||
"""
|
||||
Grader reply is a JSON-dump of the following dict
|
||||
|
||||
@@ -490,6 +490,3 @@ class OpenEndedChild(object):
|
||||
eta_string = ""
|
||||
|
||||
return eta_string
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,6 @@ class SelfAssessmentModule(openendedchild.OpenEndedChild):
|
||||
html = system.render_template('{0}/self_assessment_prompt.html'.format(self.TEMPLATE_DIR), context)
|
||||
return html
|
||||
|
||||
|
||||
def handle_ajax(self, dispatch, get, system):
|
||||
"""
|
||||
This is called by courseware.module_render, to handle an AJAX call.
|
||||
@@ -159,7 +158,6 @@ class SelfAssessmentModule(openendedchild.OpenEndedChild):
|
||||
|
||||
return system.render_template('{0}/self_assessment_hint.html'.format(self.TEMPLATE_DIR), context)
|
||||
|
||||
|
||||
def save_answer(self, get, system):
|
||||
"""
|
||||
After the answer is submitted, show the rubric.
|
||||
|
||||
Reference in New Issue
Block a user