Commit cd6baea5 authored by Janez K's avatar Janez K

cross validation fix

parent 95bd612d
This diff is collapsed.
......@@ -562,17 +562,6 @@ def add_cv(request):
output.outer_input = input
output.save()
# input: number of folds
cv_input_fold = Widget()
cv_input_fold.workflow = workflow
cv_input_fold.x=int(request.POST['scrollLeft'])+50
y=int(request.POST['scrollTop'])+50
while workflow.widgets.filter(y=y,x=cv_input_fold.x).count()>0:
y = y + 100
cv_input_fold.y=y
cv_input_fold.name = 'cv input2'
cv_input_fold.type = 'cv_input2'
cv_input_fold.save()
output = Output()
output.name = 'cv input data'
......@@ -590,18 +579,6 @@ def add_cv(request):
output.outer_input = input
output.save()
# input: seed
cv_input_fold = Widget()
cv_input_fold.workflow = workflow
cv_input_fold.x=int(request.POST['scrollLeft'])+50
y=int(request.POST['scrollTop'])+50
while workflow.widgets.filter(y=y,x=cv_input_fold.x).count()>0:
y = y + 100
cv_input_fold.y=y
cv_input_fold.name = 'cv input3'
cv_input_fold.type = 'cv_input3'
cv_input_fold.save()
output = Output()
output.name = 'cv input data'
output.short_name = 'sed' # subproces inner input
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment