Skip to content

Commit

Permalink
Added check for empty input file vector
Browse files Browse the repository at this point in the history
  • Loading branch information
Shians committed Feb 8, 2021
1 parent ef2e8f3 commit f9d5991
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/tabix_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ create_tabix_file <- function(
verbose = TRUE
) {
assert_that(
assertthat::not_empty(input_files),
is.character(input_files),
is.string(output_file),
tools::file_ext(output_file) == "bgz",
Expand Down

0 comments on commit f9d5991

Please sign in to comment.