diff --git a/autosubmit/autosubmit.py b/autosubmit/autosubmit.py index bf434b4efce80b194216351654b2fd8586822ccf..119ad03aa40129655edc6c4e6b5c2b6b418bbee4 100644 --- a/autosubmit/autosubmit.py +++ b/autosubmit/autosubmit.py @@ -182,6 +182,8 @@ class Autosubmit: help='Select the job type to filter the list of jobs') subparser.add_argument('--hide', action='store_true', default=False, help='hides plot window') + subparser.add_argument('--txt', action='store_true', default=False, + help='Generates only txt status file') # Stats subparser = subparsers.add_parser('stats', description="plots statistics for specified experiment") @@ -339,7 +341,7 @@ class Autosubmit: return Autosubmit.delete(args.expid, args.force) elif args.command == 'monitor': return Autosubmit.monitor(args.expid, args.output, args.list, args.filter_chunks, args.filter_status, - args.filter_type, args.hide) + args.filter_type, args.hide, args.txt) elif args.command == 'stats': return Autosubmit.statistics(args.expid, args.filter_type, args.filter_period, args.output, args.hide) elif args.command == 'clean': @@ -738,7 +740,7 @@ class Autosubmit: return save @staticmethod - def monitor(expid, file_format, lst, filter_chunks, filter_status, filter_section, hide): + def monitor(expid, file_format, lst, filter_chunks, filter_status, filter_section, hide, txt_only=False): """ Plots workflow graph for a given experiment with status of each job coded by node color. Plot is created in experiment's plot folder with name __