From 51ed54313f53ca4869d7a81b2a98bf7626f12b50 Mon Sep 17 00:00:00 2001 From: Alex Kotlar Date: Fri, 26 Jan 2024 02:38:43 +0000 Subject: [PATCH] fix noOut + no dosageMatrixOutPath error message --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index d791339..99017cb 100644 --- a/main.go +++ b/main.go @@ -161,8 +161,8 @@ func main() { log.Fatal("Cannot specify --noOut and --out") } - if config.noOut && config.outPath == "" && config.dosageMatrixOutPath == "" { - log.Fatal("When specifying --noOut, must specify either --out or --dosageOutput") + if config.noOut && config.dosageMatrixOutPath == "" { + log.Fatal("When specifying --noOut, must specify --dosageOutput") } if !config.noOut {