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

Fixed bug with type(None)

parent 8487dfa3
No related branches found
No related tags found
No related merge requests found
......@@ -291,7 +291,7 @@ class AcquisitionSequenceBuilder(SequenceBuilderBase):
cmd.func(*cmd.args, **cmd.kwargs)
def get_data_scaling(self):
if isinstance(self._data_scaling, (Number, None)):
if isinstance(self._data_scaling, (Number, type(None))):
return self._data_scaling
return np.array(self._data_scaling)
......
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