From 413f2a1eb4bd9a5d7cd58b2493ca7bb7c84b1d66 Mon Sep 17 00:00:00 2001 From: Till Hartmann Date: Thu, 28 Nov 2024 17:33:27 +0100 Subject: [PATCH] chore: --pick-transcript-mode requires --pick-transcript (#637) --- src/annotate/seqvars/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/annotate/seqvars/mod.rs b/src/annotate/seqvars/mod.rs index 3526932a..5d038f71 100644 --- a/src/annotate/seqvars/mod.rs +++ b/src/annotate/seqvars/mod.rs @@ -110,7 +110,7 @@ pub struct Args { /// /// When transcript picking is enabled via `--pick-transcript`, /// either keep the first one found or keep all that match. - #[arg(long, default_value = "all")] + #[arg(long, default_value = "all", requires = "pick_transcript")] pub pick_transcript_mode: TranscriptPickMode, /// For debug purposes, maximal number of variants to annotate.