Skip to content

Parallel jobs of suite2p on different sessions sometimes crashes due to missing run_script.sh #1167

@kushaangupta

Description

@kushaangupta

if run_script.exists():
os.remove(run_script)
with open(run_script, "x", newline="") as f:

The fact that the old file is deleted and then rewritten leads to errors sometime. We can simply overwrite the file instead

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