Skip to content

Existing outfiles (check_outfile_overwrite = False) is handled inconsistently #336

Description

@stefan-apollo

In rib_builder:

    if not check_outfile_overwrite(out_file, force):
        if dist_info is not None and dist_info.global_size > 1:
            dist_info.local_comm.Abort()  # stop this and other processes
        raise FileExistsError(f"Output file {out_file} already exists")

In ablations:

        if not check_outfile_overwrite(out_file, force):
            raise FileExistsError("Not overwriting output file")

In plotting:

    if not check_outfile_overwrite(out_file, force):
        return None

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions