xpsi icon indicating copy to clipboard operation
xpsi copied to clipboard

Make sure that all AssertionErrors in the Instrument class are explicit enough

Open sguillot opened this issue 2 years ago • 0 comments

For example:

assert channel_array.shape[0] == self._matrix.shape[0]

gives

raise ChannelError('Channel numbers must be in a one-dimensional array of positive integers'
                   '(including zero).')

sguillot avatar Feb 14 '23 14:02 sguillot