@@ -481,7 +481,7 @@ mod tests {
481
481
fn test_read_gtf_file ( ) {
482
482
init ( ) ;
483
483
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 ( ) ;
485
485
486
486
assert ! ( !transcripts. is_empty( ) ) ;
487
487
// TODO: Add assertions to check the expected behavior and results
@@ -496,7 +496,7 @@ mod tests {
496
496
let target_transcript_id = "ENST00000579823" ;
497
497
498
498
// 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" ) ;
500
500
501
501
// Check if the target transcript ID is present and print its details
502
502
if let Some ( transcript) = transcripts. get ( target_transcript_id) {
@@ -520,7 +520,7 @@ mod tests {
520
520
let gtf_file_path = "./test/gencode_v38.gtf" ;
521
521
522
522
// 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" ) ;
524
524
525
525
// Iterate over all transcripts and print their details
526
526
for ( transcript_id, transcript) in transcripts. iter ( ) {
0 commit comments