|
112 | 112 | "type": "COLUMN", |
113 | 113 | "columnRole": "input_dataset" |
114 | 114 | }, |
| 115 | + { |
| 116 | + "name": "do_duplicate_input_row", |
| 117 | + "label": "Copy other input columns", |
| 118 | + "description": "(those with matching names will be overwritten by PI system data)", |
| 119 | + "type": "BOOLEAN" |
| 120 | + }, |
115 | 121 | { |
116 | 122 | "type": "SEPARATOR", |
117 | 123 | "description": "Time", |
|
125 | 131 | { |
126 | 132 | "name": "use_start_time_column", |
127 | 133 | "label": "Use start time value per row", |
128 | | - "description": "Description here", |
129 | | - "visibilityCondition": "false && (['InterpolatedData', 'RecordedData', 'PlotData', 'EventFrames'].includes(model.data_type))", |
| 134 | + "description": "", |
| 135 | + "visibilityCondition": "['InterpolatedData', 'RecordedData', 'PlotData', 'EventFrames'].includes(model.data_type)", |
130 | 136 | "type": "BOOLEAN", |
131 | 137 | "defaultValue": false |
132 | 138 | }, |
133 | 139 | { |
134 | 140 | "visibilityCondition": "model.use_start_time_column==true && (['InterpolatedData', 'RecordedData', 'PlotData', 'EventFrames'].includes(model.data_type))", |
135 | 141 | "name": "start_time_column", |
136 | | - "label": "Start times' column", |
137 | | - "description": "Optional", |
| 142 | + "label": "Start times column", |
| 143 | + "description": "Column type must be string", |
138 | 144 | "type": "COLUMN", |
139 | 145 | "columnRole": "input_dataset" |
140 | 146 | }, |
|
148 | 154 | }, |
149 | 155 | { |
150 | 156 | "name": "use_end_time_column", |
151 | | - "label": "Use start time value per row", |
| 157 | + "label": "Use end time value per row", |
152 | 158 | "description": "", |
153 | | - "visibilityCondition": "false && (['InterpolatedData', 'RecordedData', 'PlotData', 'EventFrames'].includes(model.data_type))", |
| 159 | + "visibilityCondition": "['InterpolatedData', 'RecordedData', 'PlotData', 'EventFrames'].includes(model.data_type)", |
154 | 160 | "type": "BOOLEAN", |
155 | 161 | "defaultValue": false |
156 | 162 | }, |
157 | 163 | { |
158 | 164 | "visibilityCondition": "model.use_end_time_column==true && (['InterpolatedData', 'RecordedData', 'PlotData', 'EventFrames'].includes(model.data_type))", |
159 | 165 | "name": "end_time_column", |
160 | | - "label": "End times' column", |
161 | | - "description": "Optional", |
| 166 | + "label": "End times column", |
| 167 | + "description": "Column type must be string", |
162 | 168 | "type": "COLUMN", |
163 | 169 | "columnRole": "input_dataset" |
164 | 170 | }, |
|
194 | 200 | { |
195 | 201 | "name": "boundary_type", |
196 | 202 | "label": "Boundary type", |
197 | | - "visibilityCondition": "['InterpolatedData','RecordedData'].includes(model.data_type)", |
| 203 | + "visibilityCondition": "((model.must_retrieve_metrics) && ['InterpolatedData'].includes(model.data_type))", |
| 204 | + "type": "SELECT", |
| 205 | + "selectChoices":[ |
| 206 | + {"value": "Inside", "label": "Inside"}, |
| 207 | + {"value": "Outside", "label": "Outside"} |
| 208 | + ], |
| 209 | + "defaultValue": "Inside" |
| 210 | + }, |
| 211 | + { |
| 212 | + "name": "record_boundary_type", |
| 213 | + "label": "Boundary type", |
| 214 | + "visibilityCondition": "((model.must_retrieve_metrics) && ['RecordedData'].includes(model.data_type))", |
198 | 215 | "type": "SELECT", |
199 | 216 | "selectChoices":[ |
200 | 217 | {"value": "Inside", "label": "Inside"}, |
| 218 | + {"value": "Interpolated", "label": "Interpolated"}, |
201 | 219 | {"value": "Outside", "label": "Outside"} |
202 | 220 | ], |
203 | 221 | "defaultValue": "Inside" |
|
0 commit comments