We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@settings(max_examples=5, deadline=None, suppress_health_check=(HealthCheck.function_scoped_fixture,)) @given(breakpoint=hst.integers(min_value=1, max_value=19), write_period=hst.floats(min_value=0.1, max_value=1.5), set_values=hst.lists(elements=hst.floats(), min_size=20, max_size=20), get_values=hst.lists(elements=hst.floats(), min_size=20, max_size=20)) @pytest.mark.usefixtures('set_default_station_to_none') def test_datasaver_scalars(experiment, DAC, DMM, set_values, get_values, breakpoint, write_period): no_of_runs = len(experiment) station = qc.Station(DAC, DMM) meas = Measurement(station=station) meas.write_period = write_period assert meas.write_period == write_period meas.register_parameter(DAC.ch1) meas.register_parameter(DMM.v1, setpoints=(DAC.ch1,)) with meas.run() as datasaver: for set_v, get_v in zip(set_values[:breakpoint], get_values[:breakpoint]): datasaver.add_result((DAC.ch1, set_v), (DMM.v1, get_v)) assert datasaver._dataset.number_of_results == 0 sleep(write_period * 1.1) datasaver.add_result((DAC.ch1, set_values[breakpoint]), (DMM.v1, get_values[breakpoint])) > assert datasaver.points_written == breakpoint + 1 E assert 0 == (1 + 1) E + where 0 = <qcodes.dataset.measurements.DataSaver object at 0x000002006588C8B0>.points_written
See details in the log below.
errorlog.txt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See details in the log below.
errorlog.txt
The text was updated successfully, but these errors were encountered: