Skip to content

Commit

Permalink
Merge pull request #814 from qutech/feat/dummy_devices
Browse files Browse the repository at this point in the history
Fix some runtime errors
  • Loading branch information
Simon Humpohl authored Mar 15, 2024
2 parents 2db27d5 + 1e0c437 commit f128e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qupulse/hardware/awgs/dummy.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Tuple, Set

from .base import AWG
from .base import AWG, ProgramOverwriteException

class DummyAWG(AWG):
def __init__(self,
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit f128e48

Please sign in to comment.