Skip to content
New issue

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

RFC: Add dev container configuration #12306

Draft
wants to merge 66 commits into
base: main
Choose a base branch
from

Merge branch 'main' of https://github.com/mne-tools/mne-python into dโ€ฆ

98aa7ed
Select commit
Loading
Failed to load commit list.
Draft

RFC: Add dev container configuration #12306

Merge branch 'main' of https://github.com/mne-tools/mne-python into dโ€ฆ
98aa7ed
Select commit
Loading
Failed to load commit list.
Azure Pipelines / mne-tools.mne-python failed Jun 21, 2024 in 48m 51s

Build #20240621.6 had test failures

Details

Tests

  • Failed: 21 (0.26%)
  • Passed: 7,255 (89.19%)
  • Other: 858 (10.55%)
  • Total: 8,134
Code coverage

  • 32137 of 42388 branches covered (75.82%)
  • 100365 of 120747 lines covered (83.12%)

Annotations

Check failure on line 23 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

Build log #L23

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 4763 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

Build log #L4763

Cmd.exe exited with code '1'.

Check failure on line 1 in test_xhemi_morph

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

test_xhemi_morph

ValueError: dimension mismatch
Raw output
mne\tests\test_morph.py:147: in test_xhemi_morph
    stc = compute_source_morph(
<decorator-gen-471>:12: in compute_source_morph
    ???
mne\morph.py:285: in compute_source_morph
    morph_mat = _compute_morph_matrix(
mne\morph.py:1195: in _compute_morph_matrix
    _hemi_morph(
mne\morph.py:1245: in _hemi_morph
    mm, n_missing, n_iter = _surf_upsampling_mat(vertices_from, e, smooth)
mne\utils\numerics.py:1131: in cache_fun
    this_val = fun(*args)
mne\morph.py:1401: in _surf_upsampling_mat
    data = use_e @ data
C:\hostedtoolcache\windows\Python\3.12.3\x64\Lib\site-packages\scipy\sparse\_base.py:715: in __matmul__
    return self._matmul_dispatch(other)
C:\hostedtoolcache\windows\Python\3.12.3\x64\Lib\site-packages\scipy\sparse\_base.py:625: in _matmul_dispatch
    raise ValueError('dimension mismatch')
E   ValueError: dimension mismatch

Check failure on line 1 in test_surface_source_morph_round_trip[None-0.959-0.963-0-float]

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

test_surface_source_morph_round_trip[None-0.959-0.963-0-float]

ValueError: dimension mismatch
Raw output
mne\tests\test_morph.py:249: in test_surface_source_morph_round_trip
    morph = compute_source_morph(stc, "sample", "fsaverage", **kwargs)
<decorator-gen-471>:12: in compute_source_morph
    ???
mne\morph.py:285: in compute_source_morph
    morph_mat = _compute_morph_matrix(
mne\morph.py:1195: in _compute_morph_matrix
    _hemi_morph(
mne\morph.py:1245: in _hemi_morph
    mm, n_missing, n_iter = _surf_upsampling_mat(vertices_from, e, smooth)
mne\utils\numerics.py:1131: in cache_fun
    this_val = fun(*args)
mne\morph.py:1401: in _surf_upsampling_mat
    data = use_e @ data
C:\hostedtoolcache\windows\Python\3.12.3\x64\Lib\site-packages\scipy\sparse\_base.py:715: in __matmul__
    return self._matmul_dispatch(other)
C:\hostedtoolcache\windows\Python\3.12.3\x64\Lib\site-packages\scipy\sparse\_base.py:625: in _matmul_dispatch
    raise ValueError('dimension mismatch')
E   ValueError: dimension mismatch

Check failure on line 1 in test_surface_source_morph_round_trip[3-0.968-0.971-2-complex]

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

test_surface_source_morph_round_trip[3-0.968-0.971-2-complex]

ValueError: dimension mismatch
Raw output
mne\tests\test_morph.py:249: in test_surface_source_morph_round_trip
    morph = compute_source_morph(stc, "sample", "fsaverage", **kwargs)
<decorator-gen-471>:12: in compute_source_morph
    ???
mne\morph.py:285: in compute_source_morph
    morph_mat = _compute_morph_matrix(
mne\morph.py:1195: in _compute_morph_matrix
    _hemi_morph(
mne\morph.py:1245: in _hemi_morph
    mm, n_missing, n_iter = _surf_upsampling_mat(vertices_from, e, smooth)
mne\utils\numerics.py:1131: in cache_fun
    this_val = fun(*args)
mne\morph.py:1401: in _surf_upsampling_mat
    data = use_e @ data
C:\hostedtoolcache\windows\Python\3.12.3\x64\Lib\site-packages\scipy\sparse\_base.py:715: in __matmul__
    return self._matmul_dispatch(other)
C:\hostedtoolcache\windows\Python\3.12.3\x64\Lib\site-packages\scipy\sparse\_base.py:625: in _matmul_dispatch
    raise ValueError('dimension mismatch')
E   ValueError: dimension mismatch

Check failure on line 1 in test_extract_label_time_course_volume[str-False-False-False-head-meth]

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

test_extract_label_time_course_volume[str-False-False-False-head-meth]

TypeError: 'coo_array' object is not subscriptable
Raw output
mne\tests\test_source_estimate.py:1015: in test_extract_label_time_course_volume
    stc_back = labels_to_stc(labels, label_tc, src=src)
<decorator-gen-326>:12: in labels_to_stc
    ???
mne\label.py:2541: in labels_to_stc
    label_op = extract_label_time_course(
<decorator-gen-309>:12: in extract_label_time_course
    ???
mne\source_estimate.py:3812: in extract_label_time_course
    label_tc = list(label_tc)
mne\source_estimate.py:3675: in _gen_extract_label_time_course
    labels = _volume_labels(src, labels, mri_resolution)
mne\source_estimate.py:3619: in _volume_labels
    csr = interp[mask]
E   TypeError: 'coo_array' object is not subscriptable