Commit 4167f7797a7c57df3178ab7ef9656431b5cac7be
1 parent
316e2005
Exists in
mlplasmas
and in
1 other branch
disable Input arguments prediction-args sans error
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
js/app/views/MachineLearningUI.js
... | ... | @@ -62,13 +62,13 @@ Ext.define('amdaUI.MachineLearningUI', { |
62 | 62 | { |
63 | 63 | xtype: 'datefield', id: 'prediction-stop', name: 'stop', fieldLabel: 'Stop Time', |
64 | 64 | format: 'Y-m-d\\TH:i:s' |
65 | - }/*, | |
65 | + }, | |
66 | 66 | { |
67 | 67 | xtype: 'fieldset', id: 'prediction-args', title: 'Input arguments', hidden: true |
68 | 68 | }, |
69 | 69 | { |
70 | 70 | xtype: 'fieldset', id: 'prediction-hyperparameters', title: 'Hyper parameters', hidden: true, enable: false |
71 | - },*/ | |
71 | + } | |
72 | 72 | ], |
73 | 73 | setModel: function(modelinfo) { |
74 | 74 | var defaultValues = modelinfo.get('defaults'); |
... | ... | @@ -82,8 +82,8 @@ Ext.define('amdaUI.MachineLearningUI', { |
82 | 82 | |
83 | 83 | var args = modelinfo.get('args'); |
84 | 84 | if (!args) args = []; |
85 | - me.predictionUI.queryById('prediction-args').setVisible(args.length > 0); | |
86 | - me.predictionUI.queryById('prediction-args').removeAll(); | |
85 | + //me.predictionUI.queryById('prediction-args').setVisible(args.length > 0); | |
86 | + //me.predictionUI.queryById('prediction-args').removeAll(); | |
87 | 87 | Ext.Array.each(args, function(arg) { |
88 | 88 | if (arg == 'start' || arg == 'stop') { |
89 | 89 | return; |
... | ... |