Skip to content

Commit

Permalink
fix: revert comma delimiter back to tab in count_lines
Browse files Browse the repository at this point in the history
  • Loading branch information
zietzm committed Jul 18, 2024
1 parent 91d94c2 commit 91ff03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/gwas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub fn count_lines(filename: &str) -> Result<usize> {
let reader = BufReader::new(file);
let decoder = zstd::stream::read::Decoder::with_buffer(reader)?;
let mut reader = csv::ReaderBuilder::new()
.delimiter(b',')
.delimiter(b'\t')
.from_reader(decoder);
return Ok(reader.records().count());
}
Expand Down

0 comments on commit 91ff03d

Please sign in to comment.