Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGuarracino committed Jan 26, 2025
1 parent 02a8069 commit a0a3b72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ pub fn partition_alignments(

if debug {
debug!("Starting with {} windows:", windows.len());
for (chrom, start, end) in &windows {
for (seq_id, start, end) in &windows {
let chrom = impg.seq_index.get_name(*seq_id).unwrap();
debug!(" Window: {}:{}-{}, len: {}", chrom, start, end, end - start);
}
}
Expand Down Expand Up @@ -103,6 +104,7 @@ pub fn partition_alignments(
missing_regions.len()
);
for (chrom, ranges) in &missing_regions {
let chrom = impg.seq_index.get_name(*chrom).unwrap();
for &(start, end) in ranges.iter() {
debug!(" Region: {}:{}-{}, len: {}", chrom, start, end, end - start);
}
Expand All @@ -113,6 +115,7 @@ pub fn partition_alignments(
masked_regions.len()
);
for (chrom, ranges) in &masked_regions {
let chrom = impg.seq_index.get_name(*chrom).unwrap();
for &(start, end) in ranges.iter() {
debug!(" Region: {}:{}-{}, len: {}", chrom, start, end, end - start);
}
Expand Down

0 comments on commit a0a3b72

Please sign in to comment.