Skip to content

inconsistent behavior around overwriting files #125

@Teque5

Description

@Teque5

I came across this while writing the BLUE file converter.

If you do meta.tofile('whatever', toarchive=True) and a whatever.sigmf archive already exists it doesn't write anything. I think this should raise an exception.

If you do meta.tofile('whatever') and both whatever.sigmf-dataandwhatever.sigmf-meta` exists it will overwrite the metadata but not the data file.

Basically we need to make the behavior consistent and raise exceptions if the files exist.

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