Skip to content

Commit 85532b9

Browse files
committed
Wait for NCBI lag when fetching reference data
1 parent 2ac3f2a commit 85532b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

summary/vdjdb_summary.Rmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ ids = unique((dt.vdjdb.s %>%
108108
filter(substr(reference.id,1,4)=="PMID") %>%
109109
mutate(id = str_split_fixed(reference.id, ":", 2)[,2]))$id)
110110
111-
pm_data = content(GET("https://eutils.ncbi.nlm.nih.gov/",
111+
pm_data = content(GET("https://eutils.ncbi.nlm.nih.gov/",
112+
timeout(60),
112113
path = "entrez/eutils/esummary.fcgi",
113114
query = list(db = "pubmed",
114115
id = paste0(ids,collapse = ","))))

0 commit comments

Comments
 (0)