File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -830,7 +830,6 @@ def __init__(
830830 img_max_res = MAX_IMG_RES ,
831831 collapse = (),
832832 verbose = None ,
833-
834833 ):
835834 self .projs = projs # Initialize self.projs
836835 self .info_fname = str (info_fname ) if info_fname is not None else None
@@ -844,7 +843,7 @@ def __init__(
844843 self .subject = subject
845844 self .title = title
846845 self .image_format = _check_image_format (None , image_format )
847-
846+
848847 # dom_id is mostly for backward compat and testing nowadays
849848 self ._dom_id = 0
850849 self ._dup_limit = 10000 # should be enough duplicates
@@ -1251,13 +1250,14 @@ def add_epochs(
12511250 .. versionadded:: 0.24
12521251 """
12531252 tags = _check_tags (tags )
1253+
12541254 add_projs = self .projs if projs is None else projs
12551255
12561256 if epochs ._bad_dropped :
12571257 reject_info = f"<p><strong>Rejection Thresholds:</strong> { epochs .reject } </p>"
12581258 flat_info = f"<p><strong>Flat Thresholds:</strong> { epochs .flat } </p>"
12591259 self .add_html (reject_info + flat_info )
1260-
1260+
12611261 self ._add_epochs (
12621262 epochs = epochs ,
12631263 psd = psd ,
@@ -1271,7 +1271,6 @@ def add_epochs(
12711271 replace = replace ,
12721272 )
12731273
1274-
12751274 @fill_doc
12761275 def add_evokeds (
12771276 self ,
@@ -1313,7 +1312,6 @@ def add_evokeds(
13131312 %(n_jobs)s
13141313
13151314 Notes
1316-
13171315 -----
13181316 .. versionadded:: 0.24.0
13191317 """
You can’t perform that action at this time.
0 commit comments