Skip to content

Conversation

@rob-luke
Copy link
Member

@rob-luke rob-luke commented Oct 8, 2021

Reference issue

Throw more explicit warning when trying to read fNIRS data files with more than two wavelengths. See #9816

What does this implement/fix?

Throw a more meaningful warning

Additional information

We don't have test data for this, and I imagine that in response to #9816 we will add support for >2 wavelengths. But in the meantime this might save other users being confused.

Copy link
Member

@agramfort agramfort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@larsoner merge if happy

@larsoner larsoner merged commit cfd743a into mne-tools:main Oct 8, 2021
@larsoner
Copy link
Member

larsoner commented Oct 8, 2021

Thanks @rob-luke !

larsoner added a commit to rob-luke/mne-python that referenced this pull request Oct 11, 2021
* upstream/main:
  MAINT: Update broken link, fix rendering (mne-tools#9829)
  Ensure plot_ica_sources() always plots traces of rejected ICs on top (mne-tools#9823)
  Improve plot_ica_sources() docstring (mne-tools#9825)
  MRG: Fix docstring for plot_ica_components() (mne-tools#9826)
  unpin jsonschema and filter its warning instead (mne-tools#9822)
  Add warning for SNIRF files with != 2 wavelengths (mne-tools#9817)
  add show_scalebars param to epochs.plot() (mne-tools#9815)
  MRG: Allow _plot_mri_contours() to return arrays (mne-tools#9818)
  MRG: Expand ~ in _check_fname() (mne-tools#9613)
  Improve ICA.plot_overlay() docstrings (mne-tools#9820)
  WIP, MAINT: Fix CircleCI (again) (mne-tools#9814)
  MRG, ENH: Add options to fit_dipole (mne-tools#9810)
  Rework Reports (new history) (mne-tools#9754)
  MRG, CI: Use VTK pre (mne-tools#9803)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants