Skip to content

Commit

Permalink
FIX: Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jan 26, 2024
1 parent a43dfa7 commit a0c8fb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mne/_fiff/pick.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ def pick_info(info, sel=(), copy=True, verbose=None):
with info._unlock():
info["custom_ref_applied"] = FIFF.FIFFV_MNE_CUSTOM_REF_OFF
# remove unused projectors
if info.get("projs", []):
if info.get("projs", False):
projs = list()
for p in info["projs"]:
if any(ch_name in ch_set for ch_name in p["data"]["col_names"]):
Expand Down
3 changes: 1 addition & 2 deletions tutorials/inverse/95_phantom_KIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@
fig.axes[0].axvline(dip_freq, color="r", ls="--", lw=2, zorder=4)

# %%
# Now we can figure out our epoching parameters and epoch the data, sanity checking
# some values along the way knowing how the stimulation was done.
# Now we can figure out our epoching parameters and epoch the data and plot it.

tmin, tmax = -0.08, 0.18
epochs = mne.Epochs(raw, tmin=tmin, tmax=tmax, decim=10, picks="data", preload=True)
Expand Down

0 comments on commit a0c8fb4

Please sign in to comment.