We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a569d0 commit a8084cbCopy full SHA for a8084cb
mne/rank.py
@@ -184,7 +184,7 @@ def _estimate_rank_meeg_signals(
184
"""
185
picks_list = _picks_by_type(info)
186
if data.shape[1] < data.shape[0]:
187
- ValueError(
+ raise ValueError(
188
"You've got fewer samples than channels, your "
189
"rank estimate might be inaccurate."
190
)
@@ -249,7 +249,7 @@ def _estimate_rank_meeg_cov(
249
scalings = _handle_default("scalings_cov_rank", scalings)
250
_apply_scaling_cov(data, picks_list, scalings)
251
252
253
254
255
0 commit comments