From efc7dc9326a28e83637e8e2e9118c5219e8f69bb Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Thu, 8 Feb 2018 17:56:33 +0000 Subject: [PATCH] commands/create: Remove global section of generated agenda Move the iterations parameter into `config`so the `global` section can be removed. --- wa/commands/create.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wa/commands/create.py b/wa/commands/create.py index 56b8f41b..c05a099b 100644 --- a/wa/commands/create.py +++ b/wa/commands/create.py @@ -36,8 +36,7 @@ class CreateAgendaSubcommand(SubCommand): def execute(self, state, args): agenda = OrderedDict() - agenda['config'] = OrderedDict(instruments=[], output_processors=[]) - agenda['global'] = OrderedDict(iterations=args.iterations) + agenda['config'] = OrderedDict(augmentations=[], iterations=args.iterations) agenda['workloads'] = [] target_desc = None