Commit b9ddea7c authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

fix: correct the default values of the 'except' argument of the...

fix: correct the default values of the 'except' argument of the 'SeriesAggreg.OutputsModel' function
Refs 137, !58, ede467bb
parent cf55311b
2 merge requests!73Merge branch 'dev' into 'master',!65Resolve "Fix .ExtractOutputsModel function to manage the new elements of OutputsModel"
Pipeline #32475 passed with stage
in 6 minutes and 3 seconds
Showing with 1 addition and 1 deletion
+1 -1
  • She warning message is stil returned. See #137 (comment 54516)

  • It works with "StateEnd" and not with "RunOptions" because StateEnd is a list with specific classes, which is not the case of RunOptions which a simple list.

    $RunOptions
    [1] "list"
    
    $StateEnd
    [1] "IniStates" "monthly"   "GR"       
    inherits(OutputsModel$RunOptions, "list")
    [1] TRUE
    
    inherits(OutputsModel$StateEnd, "list")
    [1] FALSE

    In SeriesAggreg.list, the code line is:

    listCols <- x[sapply(x, inherits, "list")]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment