Skip to content

Commit

Permalink
Merge pull request #744 from AlexsLemonade/allyhawkins/h5-feature-file
Browse files Browse the repository at this point in the history
Account for .h5ad in output feature file
  • Loading branch information
allyhawkins authored Apr 19, 2024
2 parents 326a04a + 62c9fd2 commit 31689a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/sce_to_anndata.R
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ if (!is.null(opt$feature_name)) {
# convert altExp
} else {
# check for output file
if (!(stringr::str_ends(opt$output_feature_h5, ".hdf5|.h5"))) {
stop("output feature file name must end in .hdf5 or .h5")
if (!(stringr::str_ends(opt$output_feature_h5, ".h5ad|.hdf5|.h5"))) {
stop("output feature file name must end in .h5ad, .hdf5, or .h5")
}

# extract altExp
Expand Down

0 comments on commit 31689a1

Please sign in to comment.