From ee47e0cecea6b7517920c17fd8588077e45f740c Mon Sep 17 00:00:00 2001 From: sldesnoo-Delft <s.l.desnoo@tudelft.nl> Date: Wed, 20 Dec 2023 08:48:40 +0100 Subject: [PATCH] Fixed tests --- pulse_lib/tests/acquire/test_demodulation.py | 1 - pulse_lib/tests/acquire/test_read.py | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pulse_lib/tests/acquire/test_demodulation.py b/pulse_lib/tests/acquire/test_demodulation.py index 5e3dc513..cfa43657 100644 --- a/pulse_lib/tests/acquire/test_demodulation.py +++ b/pulse_lib/tests/acquire/test_demodulation.py @@ -44,7 +44,6 @@ def test1(): sequence.n_rep = 2 m_param = sequence.get_measurement_param(iq_mode='amplitude+phase') - context.add_hw_schedule(sequence) t = np.arange(0, t_measure, 1e9/sample_rate) # [ns] t *= 1e-9 # [s] diff --git a/pulse_lib/tests/acquire/test_read.py b/pulse_lib/tests/acquire/test_read.py index 34a3981d..1d6cbf65 100644 --- a/pulse_lib/tests/acquire/test_read.py +++ b/pulse_lib/tests/acquire/test_read.py @@ -1,8 +1,10 @@ from pulse_lib.tests.configurations.test_configuration import context -from pulse_lib.scan.read_input import read_channels #%% +from pulse_lib.scan.read_input import read_channels + + def test1(): pulse = context.init_pulselib(n_gates=1, n_sensors=2, rf_sources=False) -- GitLab