fix if logic so warning not raised incorrectly

This commit is contained in:
Pim Nelissen
2026-04-15 09:02:03 +02:00
parent 086b4b4b55
commit 73f630bd47

View File

@ -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."