Skip to content

Commit

Permalink
fix noOut + no dosageMatrixOutPath error message
Browse files Browse the repository at this point in the history
  • Loading branch information
akotlar committed Jan 26, 2024
1 parent 2ca147b commit 51ed543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 51ed543

Please # to comment.