Skip to content

Commit

Permalink
fixed: missing line for journal-title
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderPico committed Sep 7, 2024
1 parent cc89a2a commit 6180ba3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/fetch_figures_v2.R
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ extract_figures <- function(xml_content, exfigids) {
# Process each article
cat(paste("Processing",length(processed_articles),"articles\n"))
for (article in processed_articles) {
journal_title <- xml_text(xml_find_first(article, ".//journal-title"))
journal_nlm_ta <- xml_text(xml_find_first(article, ".//journal-id[@journal-id-type='nlm-ta']"))
publisher_name <- xml_text(xml_find_first(article, ".//publisher-name"))
article_title <- xml_text(xml_find_first(article, ".//article-title"))
Expand Down

0 comments on commit 6180ba3

Please sign in to comment.