Skip to content
Snippets Groups Projects
Commit 4addb362 authored by Sander de Snoo's avatar Sander de Snoo
Browse files

Fix for sequencer.n_rep equals None

parent 9561fbdf
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ class sequencer():
if self._measurement_converter is not None:
raise Exception('Cannot change n_rep after calling get_measurement_results or '
'get_measurement_param')
self._n_rep = int(value)
self._n_rep = int(value) if value is not None else None
@property
def sweep_index(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment