Skip to content

Commit

Permalink
fix: platform serialization test
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 authored and alecandido committed Aug 5, 2024
1 parent afd0f88 commit 43225b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/qibolab/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _dump_two_qubit_natives(natives: TwoQubitNatives):
for pulse in sequence:
pulse_serial = _dump_pulse(pulse)
if pulse.type == PulseType.COUPLERFLUX:
pulse_serial["coupler"] = pulse_serial["qubit"]
pulse_serial["coupler"] = pulse_serial.pop("qubit")
data[fld.name].append(pulse_serial)
return data

Expand Down
1 change: 0 additions & 1 deletion tests/test_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def test_platform_pickle(platform):
assert new_platform.is_connected == platform.is_connected


@pytest.mark.skip
def test_dump_runcard(platform, tmp_path):
dump_runcard(platform, tmp_path)
final_runcard = load_runcard(tmp_path)
Expand Down

0 comments on commit 43225b1

Please sign in to comment.