R/conversion-meta-nm.R

#' @include meta.R
#' @include model.R
#' @include nm_model.R


setMethod(
  f = "convert",
  signature = c(target = "NmModel", source = "Model", component = "Metadata"),
  definition = function(target, source, component, options) {
    if (component@name == "dataset") {
      target <- target + nm_data(path = component@value)
    }
    target
  }
)
sebastianueckert/assemblerr documentation built on Sept. 30, 2022, 9:12 a.m.