mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
freqsweep: fixing additional classifiers
Properly handle the case where additional classifiers are not specified.
This commit is contained in:
parent
1019b30174
commit
6c5e52ad56
@ -147,7 +147,7 @@ class FreqSweep(Instrument):
|
||||
spec.id = '{}_{}_{}'.format(spec.id, sweep_spec['label'], freq)
|
||||
spec.classifiers['core'] = sweep_spec['cluster']
|
||||
spec.classifiers['freq'] = freq
|
||||
for k, v in sweep_spec['classifiers'].iteritems():
|
||||
for k, v in sweep_spec.get('classifiers', {}).iteritems():
|
||||
spec.classifiers[k] = v
|
||||
spec.load(self.device, context.config.ext_loader)
|
||||
spec.workload.init_resources(context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user