Skip to content

Commit

Permalink
fix typo & add check/ into .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
an-altosian committed Jan 3, 2025
1 parent f85ee65 commit 5820a3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ vignettes
.Rproj.user
.Rhistory
.Rbuildignore
check/
2 changes: 1 addition & 1 deletion R/alevin-loadFry.R
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ load_fry_raw <- function(fryDir, aux_columns, gene_id_to_name, quiet = FALSE) {
qfile <- file.path(fryDir, "quant.json")
if (!file.exists(qfile)) {
qfile <- file.path(fryDir, "meta_info.json")
if (!file.exist(qfile)) {
if (!file.exists(qfile)) {
stop("The `fryDir` directory provided does not look like a directory generated from alevin-fry:\n",
sprintf("Missing meta_info.json or quant.json file: %s", qfile)
)
Expand Down

0 comments on commit 5820a3d

Please sign in to comment.