In the GUI, choosing to edit an experiment than adding an algorithm works. However, those changes are not visible to the user on the frontend/in the GUI.
The line responsible seems to be app_params_html = render_template(app_params_template, form=form.params) in gui/base/controllers/experiment.py. This calls a Flask built-in, so I'm guessing we have formatted our parameters wrong.
In essence, I am doing the following code (the print statements involve rsyncing up the server and refreshing)
>>> print len(form.params.data['alg_rows'])
2
>>> print form.params.data['alg_rows']
[{'alg_label': u'Test', 'alg_proportion': 1.0, 'alg_id': u'RandomSampling'},
{'alg_label': u'test2', 'alg_proportion': 0.5, 'alg_id': u'RandomSampling'}]
>>> app_params_html = render_template(app_params_template, form=form.params)
>>> print app_params_html
...
# HTML copied and pasted to local machine; I saw the image below
However, when I view the form on the GUI I only see the below:
In the GUI, choosing to edit an experiment than adding an algorithm works. However, those changes are not visible to the user on the frontend/in the GUI.
The line responsible seems to be
app_params_html = render_template(app_params_template, form=form.params)
in gui/base/controllers/experiment.py. This calls a Flask built-in, so I'm guessing we have formatted our parameters wrong.In essence, I am doing the following code (the print statements involve rsyncing up the server and refreshing)
However, when I view the form on the GUI I only see the below:
It looks like that in gui/base/app_manager/*/new_experiment_params.html it's not calling the function
add_row = function(div_id)
... maybe it's not passing the correctdiv_id
?