Skip to content

Commit

Permalink
Remove outdated migration documentation (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-luke authored Sep 13, 2023
1 parent c7cf346 commit 047a27a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/general/plot_13_fir_glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ def analysis(fname, ID):

df = pd.concat([df, df_individual])


# %%
# Tidy the dataframe
# ---------------------------------------------------------------------
Expand All @@ -183,6 +182,7 @@ def analysis(fname, ID):
df = df.query("isDelay in [True]")
df = df.query("isTapping in [True]")
# Make a new column that stores the condition name for tidier model below
df.loc[:, "TidyCond"] = ""
df.loc[df["isTapping"] == True, "TidyCond"] = "Tapping"
# Finally, extract the FIR delay in to its own column in data frame
df.loc[:, "delay"] = [n.split('_')[-1] for n in df.Condition]
Expand Down
3 changes: 0 additions & 3 deletions examples/migration/plot_02_nirstoolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@
# Differences between toolboxes
# ---------------------------------------------
#
# MNE does not higher order autoregressive noise models
# in the GLM analysis. See https://github.com/mne-tools/mne-nirs/issues/233
#
# MNE does not have iterative reweighting of the noise estimate
# in the GLM analysis.

Expand Down
4 changes: 4 additions & 0 deletions mne_nirs/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ def pytest_configure(config):
ignore:The provided callable <function sum.*:FutureWarning
# TODO: in an example (should fix eventually)
ignore:The behavior of DataFrame concatenation.*:FutureWarning
# mne-bids needs a release
ignore:.*mne\.io\.pick.* is deprecated.*:FutureWarning
# MESA
ignore:Mesa version 10\.2\.4 is too old.*:RuntimeWarning
""" # noqa: E501
for warning_line in warning_lines.split('\n'):
warning_line = warning_line.strip()
Expand Down

0 comments on commit 047a27a

Please sign in to comment.