Functions to get the process table of a model.
getProcessTable(
projectPath,
modelName = NULL,
argumentFilePaths = NULL,
only.valid = TRUE,
return.processIndex = FALSE,
return.processFlow = TRUE
)
scanForModelError(
projectPath,
modelName = NULL,
startProcess = 1,
endProcess = Inf,
afterProcessID = NULL,
beforeProcessID = NULL,
argumentFilePaths = NULL,
only.valid = TRUE,
return.processIndex = FALSE,
check.only.enabled = TRUE
)
getProcessesSansProcessData(
projectPath,
modelName = NULL,
startProcess = 1,
endProcess = Inf,
afterProcessID = NULL,
beforeProcessID = NULL,
argumentFilePaths = NULL,
only.valid = FALSE,
return.processIndex = FALSE,
warn = TRUE
)
getProcessAndFunctionNames(
projectPath,
modelName = NULL,
startProcess = 1,
endProcess = Inf,
afterProcessID = NULL,
beforeProcessID = NULL,
argumentFilePaths = NULL,
return.processIndex = FALSE,
warn = TRUE
)
The path to the StoX project, i.e., the folder of the project with the sub folders "input", "output" and "process". Can possibly be the path to a file inside the project folder.
The name of the model (possible values are "baseline", "analysis" and "report").
A nested list of paths to argument files of a model, as returned from getArgumentFilePaths
. This is used to speed up some functions.
Logical: If TRUE subset function arguments (inputs and parameters) to only those to be shown as a consequence of argument hierarchy (e.g., one argument being irrelevant for a specific setting of another).
Logical: If TRUE include the process indices as a sequence starting from 1 in each model.
Logical: If TRUE include columns giving the processIDs and processNames of processes used as input to each process (processNames of these are already in) and of the processes that use the output from each process. Also, terminal processes are indicated.
The process index, name or ID at which to start the model run.
The process index, name or ID at which to stop the model run.
The ID of the process after which to get the process table or to place a process.
The ID of the process before which to get the process table.
Logical: If TRUE check input errors only for enabled procecsses.
Logical: If TRUE show warnings that are not highly important.