mirror of
https://github.com/pim-n/pg-rad
synced 2026-04-24 21:18:10 +02:00
add warning when user does not specify any outputs
This commit is contained in:
@ -98,6 +98,11 @@ def main():
|
|||||||
if args.showplots:
|
if args.showplots:
|
||||||
plotter.plot()
|
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 (
|
except (
|
||||||
MissingConfigKeyError,
|
MissingConfigKeyError,
|
||||||
KeyError
|
KeyError
|
||||||
|
|||||||
Reference in New Issue
Block a user