Skip to content

Commit

Permalink
Merge pull request #72 from addelany/main
Browse files Browse the repository at this point in the history
publishing updates
  • Loading branch information
addelany authored Apr 9, 2024
2 parents 964ae8f + 5933b4e commit b156cb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/build_forecast_scores.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ build_forecast_scores <- function(table_schema,
),
list(
"rel" = "cite-as",
"href" = catalog_config$citation_doi
"href" = catalog_config$citation_doi_link
),
list(
"rel" = "about",
Expand Down Expand Up @@ -138,7 +138,7 @@ build_forecast_scores <- function(table_schema,
"stac_extensions"= list("https://stac-extensions.github.io/scientific/v1.0.0/schema.json",
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json",
"https://stac-extensions.github.io/table/v1.2.0/schema.json"),
"sci:doi": catalog_config$citation_doi,
#"sci:doi": catalog_config$citation_doi,
'type' = 'Collection',
'links' = c(link_items, link_list),
"title" = theme_title,
Expand Down
2 changes: 1 addition & 1 deletion R/build_publication_items.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build_publication_items <- function(var_citation, var_doi){
doi_list <- c(catalog_config$citation_doi)
citation_list <- c(catalog_config$citation_text)

if(length(theme_doi) != 0){
if(length(var_doi) != 0){
doi_list <- append(doi_list, var_doi)
citation_list <- append(citation_list, var_citation)
}
Expand Down

0 comments on commit b156cb3

Please sign in to comment.