Skip to content

Commit

Permalink
bring back warning when query expands to nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed Aug 24, 2024
1 parent e617f39 commit bd345e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/ids.R
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,11 @@ expand_ids <- function(ids, dataset) {
if(inherits(tf, 'try-error')) {
warning("Unable to process query for dataset:", dataset)
NULL
} else tf
} else {
if(length(tf)==0)
warning("No matching ids when querying dataset:", dataset)
tf
}
}


Expand Down

0 comments on commit bd345e8

Please sign in to comment.