Repository: mne-tools/mne-python

Issue:
MAINT: Release 1.5
To stick to the ~3mo release cycle we should try to release in the next week or so. I say we shoot for cutting the release Monday August 7th, which would mean all PRs should be in sometime this week.

I've gone ahead and bumped a bunch of 1.5-milestoned issues and PRs to 1.6. I left in the 1.5 ones that I think we can and should get done this week, but don't think any of them are really blockers.

Everyone feel free to look at the issues/PRs [in 1.5](https://github.com/mne-tools/mne-python/milestone/26), the ones I bumped [to 1.6](https://github.com/mne-tools/mne-python/milestone/27), as well as issues/PRs with no milestone and feel free to mark them for 1.5 *if you think we can get them in by Friday*. If you think it might take longer than Friday but think they should be a blocker for release, please also comment that in the relevant issue/PR!


Discussion:

Resolving patch:
diff --git a/mne/label.py b/mne/label.py
--- a/mne/label.py
+++ b/mne/label.py
@@ -1644,7 +1644,7 @@ def stc_to_label(
 
 
 def _verts_within_dist(graph, sources, max_dist):
-    """Find all vertices wihin a maximum geodesic distance from source.
+    """Find all vertices within a maximum geodesic distance from source.
 
     Parameters
     ----------
diff --git a/mne/report/report.py b/mne/report/report.py
--- a/mne/report/report.py
+++ b/mne/report/report.py
@@ -3136,7 +3136,7 @@ def _add_raw_butterfly_segments(
         try:
             raw.set_annotations(None)
 
-            # Create the figure once and re-use it for performance reasons
+            # Create the figure once and reuse it for performance reasons
             with use_browser_backend("matplotlib"):
                 fig = raw.plot(
                     butterfly=True,
diff --git a/mne/transforms.py b/mne/transforms.py
--- a/mne/transforms.py
+++ b/mne/transforms.py
@@ -801,7 +801,7 @@ def _cart_to_sph(cart):
 
 
 def _sph_to_cart(sph_pts):
-    """Convert spherical coordinates to Cartesion coordinates.
+    """Convert spherical coordinates to Cartesian coordinates.
 
     Parameters
     ----------
@@ -1208,7 +1208,7 @@ def fit(
         src_rad_az_pol[0] = np.abs(np.dot(match_sph, src_coeffs))
         dest_rad_az_pol = match_rad_az_pol.copy()
         dest_rad_az_pol[0] = np.abs(np.dot(match_sph, dest_coeffs))
-        # 5. Convert matched points to Cartesion coordinates and put back
+        # 5. Convert matched points to Cartesian coordinates and put back
         source = _sph_to_cart(src_rad_az_pol.T)
         source += src_center
         destination = _sph_to_cart(dest_rad_az_pol.T)


Test patch:
diff --git a/mne/channels/tests/test_interpolation.py b/mne/channels/tests/test_interpolation.py
--- a/mne/channels/tests/test_interpolation.py
+++ b/mne/channels/tests/test_interpolation.py
@@ -162,7 +162,7 @@ def test_interpolation_eeg(offset, avg_proj, ctol, atol, method):
 
     # check that interpolation fails when preload is False
     epochs_eeg.preload = False
-    with pytest.raises(RuntimeError, match="requires epochs data to be loade"):
+    with pytest.raises(RuntimeError, match="requires epochs data to be load"):
         epochs_eeg.interpolate_bads(**kw)
     epochs_eeg.preload = True