Skip to content

info.save should have an overwrite parameter #13105

@sappelhoff

Description

@sappelhoff

info.save does not have an overwrite parameter, see:

def save(self, fname):
"""Write measurement info in fif file.
Parameters
----------
fname : path-like
The name of the file. Should end by ``'-info.fif'``.
"""
write_info(fname, self)

and https://mne.tools/stable/generated/mne.Info.html#mne.Info.save

However, it is calling this function:

def write_info(

... and that one does have an overwrite parameter.

So: info.save should have an overwrite parameter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions