Skip to content

Commit

Permalink
1097 demography settings (#1153)
Browse files Browse the repository at this point in the history
* Fixes #1097 update demography caption

New populations such as disease states will be included in later versions

* Fixes #1097 update documentation
  • Loading branch information
pchelle authored Nov 30, 2023
1 parent b9f01fa commit 8bf616b
Show file tree
Hide file tree
Showing 50 changed files with 538 additions and 444 deletions.
10 changes: 4 additions & 6 deletions R/captions.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,10 @@ captions <- list(
referenceSetText,
". ",
dataSource,
getPlotScaleCaption("Profiles", plotScale),
switch(parameterClass,
"character" = paste0(" and ", getBoxplotDescriptor()),
""
),
"."
"character" = paste0("Data is ", getBoxplotDescriptor(), "."),
getPlotScaleCaption("Profiles", plotScale)
)
))
}
),
Expand Down Expand Up @@ -228,7 +226,7 @@ getDataSourceCaption <- function(structureSet) {
return("")
}
dataSourceCaption <- structureSet$simulationSet$dataSource$getCaption(structureSet$workflowFolder)
return(paste0(dataSourceCaption, ". "))
return(dataSourceCaption)
}

getGoodnessOfFitCaptions <- function(structureSet, plotType, plotScale = "linear", settings = NULL) {
Expand Down
52 changes: 26 additions & 26 deletions docs/dev/articles/add-title-page.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8bf616b

Please sign in to comment.