Skip to content

Commit

Permalink
unnecessary reference removed
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil committed Jan 21, 2025
1 parent 50d9f4f commit 130197b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/annotate/strucvars/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ impl AsyncAnnotatedVariantWriter for VarFishStrucvarTsvWriter {
let entry = tsv_record.genotype.entries.last_mut().expect("just pushed");
let sample = record
.samples()
.get(&header, sample_name)
.get(header, sample_name)
.expect("sample not found");

for (key, value) in sample.keys().as_ref().iter().zip(sample.values().iter()) {
Expand Down

0 comments on commit 130197b

Please sign in to comment.