Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make overwriting/not overwriting existing files explicit #33

Open
ntessore opened this issue Sep 13, 2023 · 0 comments
Open

Make overwriting/not overwriting existing files explicit #33

ntessore opened this issue Sep 13, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ntessore
Copy link
Contributor

Currently, functions like write_cls(), write_mms(), etc. have a default clobber=False parameter, meaning that new data is appended to existing files. This can be surprising.

Instead, we should have a default setting of clobber=None, which raises an error if an existing file is encountered. The user then has to specify clobber=True or clobber=False explicitly.

@ntessore ntessore added the enhancement New feature or request label Sep 13, 2023
@ntessore ntessore added this to the v24.2 milestone Aug 30, 2024
@ntessore ntessore modified the milestones: v24.2, backlog Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant