Skip to content

CI, MAINT: circle failing again #8609

Closed

Description

@drammock

Circle builds are failing on the MxNE example with this:

Traceback (most recent call last):
  File "/home/circleci/project/examples/inverse/plot_time_frequency_mixed_norm_inverse.py", line 126, in <module>
    brain = stc.plot('sample', 'inflated', 'rh', views='medial',
  File "/home/circleci/project/mne/source_estimate.py", line 653, in plot
    brain = plot_source_estimates(
  File "<decorator-gen-139>", line 24, in plot_source_estimates
  File "/home/circleci/project/mne/viz/_3d.py", line 1794, in plot_source_estimates
    return _plot_stc(
  File "/home/circleci/project/mne/viz/_3d.py", line 1984, in _plot_stc
    brain.setup_time_viewer(time_viewer=time_viewer,
  File "/home/circleci/project/mne/viz/_brain/_brain.py", line 416, in setup_time_viewer
    self._configure_sliders()
  File "/home/circleci/project/mne/viz/_brain/_brain.py", line 719, in _configure_sliders
    value=self._data['smoothing_steps'],
KeyError: 'smoothing_steps'

(see here: https://app.circleci.com/pipelines/github/mne-tools/mne-python/5139/workflows/937701e3-a227-414d-a747-7c65e415acbe/jobs/23925)

@GuillaumeFavelier knows what went wrong perhaps?

Activity

  1. GuillaumeFavelier commented on Dec 4, 2020

    @GuillaumeFavelier
    Contributor

    I'm on it!

  2. GuillaumeFavelier commented on Dec 4, 2020

    @GuillaumeFavelier
    Contributor

    It seems caused by

    mne-python/mne/viz/_3d.py

    Lines 1911 to 1912 in 5a62f47

    if len(stc.vertices[hi]) == 0: # no surf data for the given hemi
    continue # no data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions