#' dartSeqNewInputs
#'
#'Create a DART sequence based on the arguents defined.
#'
#'
#'
#' @param simName Name of your simulation.
#' @param sequenceFileXML Name of the xml file containing property(s) of which the arguments you would like to change.
#' @param propertyArgs Required inputs into DART simulation. This should be a list with the propertyName as the name and a vector of values as
#' the argument. (e.g: list("Maket.Scene.CellDimensions.x" = c(1, 2, 3, 4, 5, 6), "Maket.Scene.CellDimensions.z" = c(2, 4, 6)))
#' @param DARTprogDir Path to the 'DART' directory e.g 'C:/User/<username>/DART'.
#' @param DARTprocess The DART process(s) you would like to run e.g. directions, maket, phase
#' @param newSequenceFileXML Name of the xml file with new propertyArgs defined. Default is to overwrite sequenceFileXML
#' @param maxTime Maximum amount of time dart-sequence.bat is allowed to run.
#' @param userDescBool If True the user must define a new name in which to store the sequence files. Otherwise the datetime in the
#' form YYYY_DOY_H.M.S is used.
#' @param userDesc If userDescBool is TRUE then this will be a string containing the directory name in which the sequence files will be stored.
#'
#' @return A sequence of files that together can be used input all propertyArgs into a DART simulation.
#' @export
#'
dartSeqNewInputs <- function(simName, sequenceFileXML, propertyArgs,DARTprogDir, DARTprocess,
newSequenceFileXML = sequenceFileXML, maxTime = 120, userDesc = NULL){
# inputs are written to xml file, newSequenceFileXML
editSequence(simName, sequenceFileXML, propertyArgs, DARTprogDir, newSequenceFileXML)
makeSequenceJobScripts(simName, newSequenceFileXML, DARTprogDir, DARTprocess, maxTime, userDesc)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.