diff --git a/wlauto/instrumentation/daq/__init__.py b/wlauto/instrumentation/daq/__init__.py index e0128759..62c799af 100644 --- a/wlauto/instrumentation/daq/__init__.py +++ b/wlauto/instrumentation/daq/__init__.py @@ -205,7 +205,7 @@ class Daq(Instrument): description='DAQ power measurments.') port = os.path.splitext(entry)[0] path = os.path.join(output_directory, entry) - key = (context.spec.id, context.workload.name, context.current_iteration) + key = (context.spec.id, context.spec.label, context.current_iteration) if key not in self._results: self._results[key] = {}