Skip to content

Commit df84cb5

Browse files
committed
read_delim instead of read_tsv for file import
- should have used read_delim earlier; fixed
1 parent d3f49e8 commit df84cb5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/preprocess.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ df_mod <- snakemake@params[["df_mod"]]
2222
in_file <- snakemake@input[["in_file"]]
2323

2424
preprocess_dataframe <- function(in_file, method) {
25-
26-
df <- as.data.frame(readr::read_tsv(in_file))
27-
25+
df <- as.data.frame(readr::read_delim(in_file))
2826
if (df_mod != "") {
2927
eval(parse(text = df_mod))
3028
}

0 commit comments

Comments
 (0)