|
38 | 38 | #: Replicate ID column in the measurement table |
39 | 39 | REPLICATE_ID = "replicateId" |
40 | 40 |
|
| 41 | +#: The model ID column in the measurement table |
| 42 | +MODEL_ID = "modelId" |
| 43 | + |
41 | 44 | #: Mandatory columns of measurement table |
42 | 45 | MEASUREMENT_DF_REQUIRED_COLS = [ |
43 | 46 | OBSERVABLE_ID, |
|
52 | 55 | NOISE_PARAMETERS, |
53 | 56 | DATASET_ID, |
54 | 57 | REPLICATE_ID, |
| 58 | + MODEL_ID, |
55 | 59 | ] |
56 | 60 |
|
57 | 61 | #: Measurement table columns |
|
69 | 73 | PARAMETER_ID = "parameterId" |
70 | 74 | #: Parameter name column in the parameter table |
71 | 75 | PARAMETER_NAME = "parameterName" |
72 | | -#: Parameter scale column in the parameter table |
73 | | -PARAMETER_SCALE = "parameterScale" |
74 | 76 | #: Lower bound column in the parameter table |
75 | 77 | LOWER_BOUND = "lowerBound" |
76 | 78 | #: Upper bound column in the parameter table |
|
87 | 89 | #: Mandatory columns of parameter table |
88 | 90 | PARAMETER_DF_REQUIRED_COLS = [ |
89 | 91 | PARAMETER_ID, |
90 | | - PARAMETER_SCALE, |
91 | 92 | LOWER_BOUND, |
92 | 93 | UPPER_BOUND, |
93 | 94 | ESTIMATE, |
|
233 | 234 | #: Supported noise distributions |
234 | 235 | NOISE_DISTRIBUTIONS = [NORMAL, LAPLACE, LOG_NORMAL, LOG_LAPLACE] |
235 | 236 |
|
236 | | - |
237 | | -# VISUALIZATION |
238 | | - |
239 | | -#: Plot ID column in the visualization table |
240 | | -PLOT_ID = "plotId" |
241 | | -#: Plot name column in the visualization table |
242 | | -PLOT_NAME = "plotName" |
243 | | -#: Value for plot type 'simulation' in the visualization table |
244 | | -PLOT_TYPE_SIMULATION = "plotTypeSimulation" |
245 | | -#: Value for plot type 'data' in the visualization table |
246 | | -PLOT_TYPE_DATA = "plotTypeData" |
247 | | -#: X values column in the visualization table |
248 | | -X_VALUES = "xValues" |
249 | | -#: X offset column in the visualization table |
250 | | -X_OFFSET = "xOffset" |
251 | | -#: X label column in the visualization table |
252 | | -X_LABEL = "xLabel" |
253 | | -#: X scale column in the visualization table |
254 | | -X_SCALE = "xScale" |
255 | | -#: Y values column in the visualization table |
256 | | -Y_VALUES = "yValues" |
257 | | -#: Y offset column in the visualization table |
258 | | -Y_OFFSET = "yOffset" |
259 | | -#: Y label column in the visualization table |
260 | | -Y_LABEL = "yLabel" |
261 | | -#: Y scale column in the visualization table |
262 | | -Y_SCALE = "yScale" |
263 | | -#: Legend entry column in the visualization table |
264 | | -LEGEND_ENTRY = "legendEntry" |
265 | | - |
266 | | -#: Mandatory columns of visualization table |
267 | | -VISUALIZATION_DF_REQUIRED_COLS = [PLOT_ID] |
268 | | - |
269 | | -#: Optional columns of visualization table |
270 | | -VISUALIZATION_DF_OPTIONAL_COLS = [ |
271 | | - PLOT_NAME, |
272 | | - PLOT_TYPE_SIMULATION, |
273 | | - PLOT_TYPE_DATA, |
274 | | - X_VALUES, |
275 | | - X_OFFSET, |
276 | | - X_LABEL, |
277 | | - X_SCALE, |
278 | | - Y_VALUES, |
279 | | - Y_OFFSET, |
280 | | - Y_LABEL, |
281 | | - Y_SCALE, |
282 | | - LEGEND_ENTRY, |
283 | | - DATASET_ID, |
284 | | -] |
285 | | - |
286 | | -#: Visualization table columns |
287 | | -VISUALIZATION_DF_COLS = [ |
288 | | - *VISUALIZATION_DF_REQUIRED_COLS, |
289 | | - *VISUALIZATION_DF_OPTIONAL_COLS, |
290 | | -] |
291 | | - |
292 | | -#: Visualization table columns that contain subplot specifications |
293 | | -VISUALIZATION_DF_SUBPLOT_LEVEL_COLS = [ |
294 | | - PLOT_ID, |
295 | | - PLOT_NAME, |
296 | | - PLOT_TYPE_SIMULATION, |
297 | | - PLOT_TYPE_DATA, |
298 | | - X_LABEL, |
299 | | - X_SCALE, |
300 | | - Y_LABEL, |
301 | | - Y_SCALE, |
302 | | -] |
303 | | - |
304 | | -#: Visualization table columns that contain single plot specifications |
305 | | -VISUALIZATION_DF_SINGLE_PLOT_LEVEL_COLS = [ |
306 | | - X_VALUES, |
307 | | - X_OFFSET, |
308 | | - Y_VALUES, |
309 | | - Y_OFFSET, |
310 | | - LEGEND_ENTRY, |
311 | | - DATASET_ID, |
312 | | -] |
313 | | - |
314 | | -#: Plot type value in the visualization table for line plot |
315 | | -LINE_PLOT = "LinePlot" |
316 | | -#: Plot type value in the visualization table for bar plot |
317 | | -BAR_PLOT = "BarPlot" |
318 | | -#: Plot type value in the visualization table for scatter plot |
319 | | -SCATTER_PLOT = "ScatterPlot" |
320 | | -#: Supported plot types |
321 | | -PLOT_TYPES_SIMULATION = [LINE_PLOT, BAR_PLOT, SCATTER_PLOT] |
322 | | - |
323 | | -#: Supported xScales |
324 | | -X_SCALES = [LIN, LOG, LOG10] |
325 | | - |
326 | | -#: Supported yScales |
327 | | -Y_SCALES = [LIN, LOG, LOG10] |
328 | | - |
329 | | - |
330 | | -#: Plot type "data" value in the visualization table for mean and standard |
331 | | -# deviation |
332 | | -MEAN_AND_SD = "MeanAndSD" |
333 | | -#: Plot type "data" value in the visualization table for mean and standard |
334 | | -# error |
335 | | -MEAN_AND_SEM = "MeanAndSEM" |
336 | | -#: Plot type "data" value in the visualization table for replicates |
337 | | -REPLICATE = "replicate" |
338 | | -#: Plot type "data" value in the visualization table for provided noise values |
339 | | -PROVIDED = "provided" |
340 | | -#: Supported settings for handling replicates |
341 | | -PLOT_TYPES_DATA = [MEAN_AND_SD, MEAN_AND_SEM, REPLICATE, PROVIDED] |
342 | | - |
343 | | - |
344 | 237 | # YAML |
345 | 238 | #: PEtab version key in the YAML file |
346 | 239 | FORMAT_VERSION = "format_version" |
347 | | -#: Parameter file key in the YAML file |
348 | | -PARAMETER_FILE = "parameter_file" |
| 240 | +#: Parameter files key in the YAML file |
| 241 | +PARAMETER_FILES = "parameter_files" |
349 | 242 | #: Problems key in the YAML file |
350 | 243 | PROBLEMS = "problems" |
351 | 244 | #: Model files key in the YAML file |
|
388 | 281 | SIMULATION = "simulation" |
389 | 282 | #: Residual value column in the residual table |
390 | 283 | RESIDUAL = "residual" |
391 | | -#: ??? |
392 | | -NOISE_VALUE = "noiseValue" |
393 | 284 |
|
394 | 285 | #: separator for multiple parameter values (bounds, observableParameters, ...) |
395 | 286 | PARAMETER_SEPARATOR = ";" |
|
0 commit comments