Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-ora2
Commits
f2129e8c
Commit
f2129e8c
authored
Apr 02, 2014
by
Stephen Sanchez
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #252 from edx/sanchez/remove_unused_query
Remove an unused query.
parents
dc8cad8f
83dbe443
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
+1
-6
apps/openassessment/assessment/peer_api.py
+1
-6
No files found.
apps/openassessment/assessment/peer_api.py
View file @
f2129e8c
...
...
@@ -225,16 +225,11 @@ def create_assessment(
scorer_item
[
'student_id'
]
=
scorer_id
scorer_workflow
=
_get_latest_workflow
(
scorer_item
)
workflow
=
_get_latest_workflow
(
student_item
)
if
not
scorer_workflow
:
raise
PeerAssessmentWorkflowError
(
_
(
"You must make a submission before assessing another student."
))
if
not
workflow
:
raise
PeerAssessmentWorkflowError
(
_
(
"The submission you reviewed is not in the peer workflow. This "
"assessment cannot be submitted unless the associated "
"submission came from the peer workflow."
))
# Close the active assessment
_close_active_assessment
(
scorer_workflow
,
submission_uuid
,
assessment
,
num_required_grades
)
assessment_dict
=
full_assessment_dict
(
assessment
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment