From cdc4e7786b4e173592a8786e8733290daaa25561 Mon Sep 17 00:00:00 2001 From: Till Hartmann <till.hartmann@bih-charite.de> Date: Mon, 18 Nov 2024 13:19:17 +0100 Subject: [PATCH] clippy lint --- src/annotate/seqvars/csq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/annotate/seqvars/csq.rs b/src/annotate/seqvars/csq.rs index 24193a97..f1b908c9 100644 --- a/src/annotate/seqvars/csq.rs +++ b/src/annotate/seqvars/csq.rs @@ -1876,7 +1876,7 @@ mod test { // vep sometimes only reports a coding_sequence_variant, so we accept anything let found_one = found_one || path_tsv.contains(".vep") - && (record_csqs == &["coding_sequence_variant"] + && (record_csqs == ["coding_sequence_variant"] && !expected_one_of.is_empty()); // It is common that the other tool predicts a frameshift variant while the actual prediction