From 73f630bd47b2e7beb3a9597154efd471fa0720bb Mon Sep 17 00:00:00 2001 From: Pim Nelissen Date: Wed, 15 Apr 2026 09:02:03 +0200 Subject: [PATCH] fix if logic so warning not raised incorrectly --- src/pg_rad/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pg_rad/main.py b/src/pg_rad/main.py index f30f478..f83be0f 100644 --- a/src/pg_rad/main.py +++ b/src/pg_rad/main.py @@ -98,7 +98,7 @@ def main(): if args.showplots: plotter.plot() - if not (args.save and args.showplots): + if not (args.save or args.showplots): logger.warning( "No output produced. Use --save flag to save outputs and/or " "--showplots to display interactive plots."