Skip to content
Snippets Groups Projects
Commit 91e3e623 authored by Tim Repke's avatar Tim Repke
Browse files

add random assignments with exclusion

parent 619ce583
No related branches found
No related tags found
1 merge request!37Master
Pipeline #1292 failed
......@@ -362,7 +362,7 @@ async def make_assignments(payload: MakeAssignmentsRequestModel,
except ValueError as e:
raise HTTPException(status_code=http_status.HTTP_400_BAD_REQUEST,
detail=str(e))
if payload.config.config_type == 'random_exclusion':
elif payload.config.config_type == 'random_exclusion':
try:
assignments = await random_assignments_with_exclusion(assignment_scope_id=payload.scope_id,
annotation_scheme_id=payload.annotation_scheme_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment