Skip to content

Commit

Permalink
update warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil committed Oct 11, 2024
1 parent d93246a commit 663d67c
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 @@ -2963,7 +2963,7 @@ pub async fn run_vcf_to_jsonl(
|| record.alternate_bases().as_ref() == &["<*>".to_string()]

Check warning on line 2963 in src/annotate/strucvars/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

taken reference of right operand

warning: taken reference of right operand --> src/annotate/strucvars/mod.rs:2963:16 | 2963 | || record.alternate_bases().as_ref() == &["<*>".to_string()] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- | | | help: use the right value directly: `["<*>".to_string()]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref = note: `#[warn(clippy::op_ref)]` on by default
{
// REF-only, skip
tracing::warn!("skipping REF-only record {:?}", record);
tracing::warn!("skipping REF-only / empty ALT record {:?}", record);
continue;

Check warning on line 2967 in src/annotate/strucvars/mod.rs

View check run for this annotation

Codecov / codecov/patch

src/annotate/strucvars/mod.rs#L2966-L2967

Added lines #L2966 - L2967 were not covered by tests
}
let mut record = converter.convert(pedigree, &record, uuid, GenomeRelease::Grch37)?;
Expand Down

0 comments on commit 663d67c

Please sign in to comment.