Skip to content

Conversation

@wmvanvliet
Copy link
Contributor

When reading dipoles from a *.bdip file, not all attributes of the Dipole object were proper numpy arrays. This only becomes apparent when you try to index the Dipole and get indexing errors. A quick PR that adds a unit test and fix for this.

@wmvanvliet wmvanvliet added the BUG label Feb 26, 2021
@hoechenberger hoechenberger merged commit df227e7 into mne-tools:main Feb 28, 2021
@hoechenberger
Copy link
Member

Thanks, @wmvanvliet!

larsoner added a commit to marsipu/mne-python that referenced this pull request Mar 1, 2021
* upstream/main:
  MAINT: Skip matplotlib pre for now (mne-tools#8973)
  FIX: Brain lights (mne-tools#8972)
  MNT: Migrate VTK Widgets (mne-tools#8862)
  Fix (mne-tools#8971)
  Fix indexing dipoles read from a bdip file (mne-tools#8963)
larsoner added a commit to bloyl/mne-python that referenced this pull request Mar 1, 2021
* upstream/main:
  MAINT: Skip matplotlib pre for now (mne-tools#8973)
  FIX: Brain lights (mne-tools#8972)
  MNT: Migrate VTK Widgets (mne-tools#8862)
  Fix (mne-tools#8971)
  Fix indexing dipoles read from a bdip file (mne-tools#8963)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants