From 1e0c43700a1184946cf76c957d48fdf67d7d3027 Mon Sep 17 00:00:00 2001 From: Simon Humpohl Date: Fri, 15 Mar 2024 17:00:17 +0100 Subject: [PATCH] Fix some runtime errors --- qupulse/hardware/awgs/dummy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qupulse/hardware/awgs/dummy.py b/qupulse/hardware/awgs/dummy.py index 93ef3834..24949748 100644 --- a/qupulse/hardware/awgs/dummy.py +++ b/qupulse/hardware/awgs/dummy.py @@ -1,6 +1,6 @@ from typing import Tuple, Set -from .base import AWG +from .base import AWG, ProgramOverwriteException class DummyAWG(AWG): def __init__(self, @@ -34,7 +34,7 @@ def upload(self, name, program, channels, markers, voltage_transformation, force raise ProgramOverwriteException(name) else: self.remove(name) - self.upload(name, program) + self.upload(name, program, channels, markers, voltage_transformation) else: self._programs[name] = (program, channels, markers, voltage_transformation)