From 5820a3d7d6085457f8b5b7ea37ed8a5f76d64a80 Mon Sep 17 00:00:00 2001 From: an-altosian Date: Fri, 3 Jan 2025 16:50:32 +0000 Subject: [PATCH] fix typo & add check/ into .gitignore --- .gitignore | 1 + R/alevin-loadFry.R | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3a50d74..7fd9da6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ vignettes .Rproj.user .Rhistory .Rbuildignore +check/ \ No newline at end of file diff --git a/R/alevin-loadFry.R b/R/alevin-loadFry.R index cbfdcfd..c73c0f1 100644 --- a/R/alevin-loadFry.R +++ b/R/alevin-loadFry.R @@ -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) )