From 9a0c04cd561e99f515ebdbc7238078c41aa33493 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Fri, 23 Feb 2024 16:17:28 -0500 Subject: [PATCH] FIX: Thanks, error --- mne_bids_pipeline/steps/preprocessing/_08a_apply_ica.py | 2 +- mne_bids_pipeline/steps/preprocessing/_08b_apply_ssp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mne_bids_pipeline/steps/preprocessing/_08a_apply_ica.py b/mne_bids_pipeline/steps/preprocessing/_08a_apply_ica.py index fba8099f2..aecab29e4 100644 --- a/mne_bids_pipeline/steps/preprocessing/_08a_apply_ica.py +++ b/mne_bids_pipeline/steps/preprocessing/_08a_apply_ica.py @@ -224,7 +224,7 @@ def apply_ica_raw( raw_fname = in_files.pop(in_key) assert len(in_files) == 0, in_files out_files = dict() - out_files[in_key] = raw_fname.copy().update(processing="clean") + out_files[in_key] = raw_fname.copy().update(processing="clean", split=None) msg = f"Writing {out_files[in_key].basename} …" logger.info(**gen_log_kwargs(message=msg)) raw = mne.io.read_raw_fif(raw_fname, preload=True) diff --git a/mne_bids_pipeline/steps/preprocessing/_08b_apply_ssp.py b/mne_bids_pipeline/steps/preprocessing/_08b_apply_ssp.py index 3f6d6576a..9a0026a78 100644 --- a/mne_bids_pipeline/steps/preprocessing/_08b_apply_ssp.py +++ b/mne_bids_pipeline/steps/preprocessing/_08b_apply_ssp.py @@ -113,7 +113,7 @@ def apply_ssp_raw( raw = mne.io.read_raw_fif(raw_fname) raw.add_proj(projs) out_files = dict() - out_files[in_key] = raw_fname.copy().update(processing="clean") + out_files[in_key] = raw_fname.copy().update(processing="clean", split=None) msg = f"Writing {out_files[in_key].basename} …" logger.info(**gen_log_kwargs(message=msg)) raw.save(out_files[in_key], overwrite=True, split_size=cfg._raw_split_size)