Skip to content

info.save should have an overwrite parameter #13105

Closed

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions