Skip to content

Commit 6bb43b8

Browse files
committed
update tests
1 parent 4252f07 commit 6bb43b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/parse_gtf.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ mod tests {
481481
fn test_read_gtf_file() {
482482
init();
483483
let gtf_file = Path::new("./test/GRCm39_subset.gtf");
484-
let transcripts = read_annotation_file(gtf_file.to_str().unwrap(), true).unwrap();
484+
let transcripts = read_annotation_file(gtf_file.to_str().unwrap(), true, false).unwrap();
485485

486486
assert!(!transcripts.is_empty());
487487
// TODO: Add assertions to check the expected behavior and results
@@ -496,7 +496,7 @@ mod tests {
496496
let target_transcript_id = "ENST00000579823";
497497

498498
// Read the GTF file
499-
let transcripts = read_annotation_file(gtf_file_path, true).expect("Failed to read GTF file");
499+
let transcripts = read_annotation_file(gtf_file_path, true, false).expect("Failed to read GTF file");
500500

501501
// Check if the target transcript ID is present and print its details
502502
if let Some(transcript) = transcripts.get(target_transcript_id) {
@@ -520,7 +520,7 @@ mod tests {
520520
let gtf_file_path = "./test/gencode_v38.gtf";
521521

522522
// Read the GTF file
523-
let transcripts = read_annotation_file(gtf_file_path, true).expect("Failed to read GTF file");
523+
let transcripts = read_annotation_file(gtf_file_path, true, false).expect("Failed to read GTF file");
524524

525525
// Iterate over all transcripts and print their details
526526
for (transcript_id, transcript) in transcripts.iter() {

0 commit comments

Comments
 (0)