add warning when user does not specify any outputs

This commit is contained in:
Pim Nelissen
2026-04-02 08:34:43 +02:00
parent 06422b208b
commit bd4f9af6ba

View File

@ -98,6 +98,11 @@ def main():
if args.showplots:
plotter.plot()
if not (args.save and args.showplots):
logger.warning(
"No output produced. Use --save flag to save outputs and/or "
"--showplots to display interactive plots."
)
except (
MissingConfigKeyError,
KeyError