-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
MWE:
# %%
import os
from pathlib import Path
import mne
import numpy as np
sample_dir = Path(mne.datasets.sample.data_path())
sample_fname = sample_dir / 'MEG' / 'sample' / 'sample_audvis_raw.fif'
raw = mne.io.read_raw_fif(sample_fname, preload=True)
fname = Path(os.path.expanduser("~")) / "Desktop" / "try-raw.fif.gz"
raw.save(fname)
raw.save(fname, overwrite=True)Output after second .save call:
Overwriting existing file.
Overwriting existing file.
Overwriting existing file.
Writing /home/stefanappelhoff/Desktop/try-raw.fif.gz
Closing /home/stefanappelhoff/Desktop/try-raw.fif.gz
[done]
These are two Overwriting existing file. too many, aren't they?
Reactions are currently unavailable